Carl Spitzer wrote:
A question for linux people.
What fstab entry for these types of partitions.
I have one for 16 bit PCdos which must be manually added.
But none for FreeDOS.
CWSIV
Something similar to the following:
/dev/hda1 /mnt/win_c vfat
auto,owner,uid=1000,gid=100,umask=077 0 0
If your FreeDOS partition is used only by DOS, not Windows, you could
possibly use msdos for the fstype instead of vfat. msdos is for plain
DOS file systems (i.e. without long filename support), while vfat is
used to support Microsoft's extensions to the FAT file system used by
Windows 95 and newer versions of Windows to store long filenames. It is
probably best to use vfat though, possibly with limitations on the
characters allowed in and the length of filenames. Read the mount(8) man
page (man 8 mount) for more details.
In the line above I have used the uid and gid options to set the owner
and group of the files in my FAT32 file system to my user account and
users group, respectively. The umask option sets the permissions of
all files in the FAT32 file system to 0755. Read chmod(1) for more
details. If you change this, read mount(8) first since the umask is the
inverse of the bitmask used by chmod.
You might need to use the fat option if the automatic FAT type
detection (to determine whether the file system being mounted is FAT12,
16, or 32) fails. This override should not be needed though, so don't
use it unless the autodetection fails.
Hope this helps. :)
- Brolin
---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42 plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user