Re: Windows partitions
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 01/31/04
- Next message: Fabrice P. Laussy: "Olympus C300"
- Previous message: Måns Rullgård: "Re: Windows partitions"
- In reply to: Måns Rullgård: "Re: Windows partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2004 16:22:51 GMT
On Sat, 31 Jan 2004 17:12:39 +0100, Måns Rullgård staggered into the
Black Sun and said:
> "Vertigo" <fake@none.us> writes:
>> I need to know how to read windows partitions (FAT32, NTFS) on linux.
> FAT filesystems can be mounted just like any other filesystem. Linux
> has only read support for NTFS. You still mount them as usual, of
> course.
To expand on Mans's answer, you do this for FAT:
mount -t vfat /dev/NNN /mnt/somewhere -o umask=000
...and the fstab entry for a FAT partition looks like this:
/dev/NNN /mnt/somewhere vfat noauto,user,umask=000 0 0
You replace NNN with the device node where the FAT partition resides;
you typically find a FAT partition on 'Doze9x-infested systems on
/dev/hda1. umask=000 is typically necessary because FAT doesn't support
permissions at all, so we set the umask to 000 so any user can read and
write any file on the FAT partition.
NTFS is similar, but you replace vfat with ntfs and you really want to
mount NTFS partitions read-only. Since NTFS isn't documented, writing
to it has a high chance of br3aking things, though the latest NTFS
modules are supposed to be able to overwrite existing files provided the
size of the files written doesn't change. Creating new files or
deleting files can still hose data. HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: Fabrice P. Laussy: "Olympus C300"
- Previous message: Måns Rullgård: "Re: Windows partitions"
- In reply to: Måns Rullgård: "Re: Windows partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|