Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* UFS in Alpha Linux
@ 1998-03-11  5:00 Phillip G Ezolt
  1998-03-12  5:00 ` vogt
  0 siblings, 1 reply; 3+ messages in thread
From: Phillip G Ezolt @ 1998-03-11  5:00 UTC (permalink / raw)



Has anyone actually gotten the UFS from the newer kernels to mount any
DU partition? 

I've gotten NTFS to work, but not UFS.

Thanks,
Phil 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: UFS in Alpha Linux
  1998-03-11  5:00 UFS in Alpha Linux Phillip G Ezolt
@ 1998-03-12  5:00 ` vogt
  1998-03-12  5:00   ` Phillip G Ezolt
  0 siblings, 1 reply; 3+ messages in thread
From: vogt @ 1998-03-12  5:00 UTC (permalink / raw)



In Article <Ep1mnY9z0001AERd0e@andrew.cmu.edu>
Phillip G Ezolt <pe28+@andrew.cmu.edu> writes:
>Has anyone actually gotten the UFS from the newer kernels to mount any
>DU partition? 
>
>I've gotten NTFS to work, but not UFS.
>
Hi

I can not help you with UFS but would like to know what you had to do
to get NTFS access under linux. Maybe you can send me the patches if you have
made changes in the code.

Bye Paul




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UFS in Alpha Linux
  1998-03-12  5:00 ` vogt
@ 1998-03-12  5:00   ` Phillip G Ezolt
  0 siblings, 0 replies; 3+ messages in thread
From: Phillip G Ezolt @ 1998-03-12  5:00 UTC (permalink / raw)



Excerpts from netnews.comp.os.linux.alpha: 12-Mar-98 RE: UFS in Alpha
Linux by vogt@127.0.0.1 
> Hi
>  
> I can not help you with UFS but would like to know what you had to do
> to get NTFS access under linux. Maybe you can send me the patches if you have
> made changes in the code.
>  
> Bye Paul

Paul,
    Your email address is not valid (127.0.0.1 is loopback), so I am just
going to post the patch here.  (It's not that big.)   I've confirmed this
to work on kernel version 2.1.88, but it probably works on others too. 

Phil

-----------------------------------------------------------------------
This patch allows NTFS support to compile on an alpha. I haven't tested
it yet, but I though I would throw it out there in case someone else has
a bit more spare time then I do.


-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

*** linux-2.1.85/fs/ntfs/types.h.dist	Mon Feb  9 10:45:40 1998
--- linux-2.1.85/fs/ntfs/types.h	Mon Feb  9 10:42:11 1998
*************** typedef unsigned long long ntfs_time64_t
*** 46,51 ****
--- 46,88 ----
  typedef unsigned int ntfs_cluster_t;
  #endif
  
+ #elif defined(__alpha__)
+ 
+ /* unsigned integral types */
+ #ifndef NTFS_INTEGRAL_TYPES
+ #define NTFS_INTEGRAL_TYPES
+ typedef unsigned char  ntfs_u8;
+ typedef unsigned short ntfs_u16;
+ typedef unsigned int   ntfs_u32;
+ typedef unsigned long  ntfs_u64;
+ #endif
+ 
+ /* unicode character type */
+ #ifndef NTFS_WCHAR_T
+ #define NTFS_WCHAR_T
+ typedef unsigned short     ntfs_wchar_t;
+ #endif
+ /* file offset */
+ #ifndef NTFS_OFFSET_T
+ #define NTFS_OFFSET_T
+ typedef unsigned long ntfs_offset_t;
+ #endif
+ /* UTC */
+ #ifndef NTFS_TIME64_T
+ #define NTFS_TIME64_T
+ typedef unsigned long ntfs_time64_t;
+ #endif
+ /* This is really unsigned long long. So we support only volumes up to
2 TB */
+ #ifndef NTFS_CLUSTER_T
+ #define NTFS_CLUSTER_T
+ typedef unsigned int ntfs_cluster_t;
+ #endif
+ 
+ #else
+ #error Put your machine description here
+ #endif
+ 
+ 
  /* Macros reading unsigned integers from a byte pointer */
  /* these should work for all little endian machines */
  #define NTFS_GETU8(p)      (*(ntfs_u8*)(p))
*************** typedef unsigned int ntfs_cluster_t;
*** 72,80 ****
  #define NTFS_PUTS24(p,v)     NTFS_PUTU24(p,v)
  #define NTFS_PUTS32(p,v)     NTFS_PUTU32(p,v)
  
- #else
- #error Put your machine description here
- #endif
  
  /* architecture independent macros */
  
--- 109,114 ----







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-03-12  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-11  5:00 UFS in Alpha Linux Phillip G Ezolt
1998-03-12  5:00 ` vogt
1998-03-12  5:00   ` Phillip G Ezolt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox