Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: FAT32 and dosfstools, Other way?< Next Oldest | Next Newest >
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Mar. 10 2005,15:27 QUOTE

1. Am I right in concluding that you have to install dosfstools in order to format as FAT32, msdos or vfat (using mkfs.vfat etc)?

This works, but I had a feeling that capabilty was already included in dsl somewhere ...(?)

2. Also, these filesystems only seem to be accessible as root ...is that right?

WDf


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
ypx Offline





Group: Members
Posts: 81
Joined: July 2004
Posted: Mar. 10 2005,16:48 QUOTE

the built in capability is there with cfdisk.

--------------
French Linux Newbie in learning
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Mar. 10 2005,17:38 QUOTE

I know I can make fat/vfat partitions with cfdisk,
but I'm not aware of a method to format them using cfdisk..

The mkdosfs file is in the 5way.tar.gz as well,
if you've been playing with the pendrive/embedded version..

73
ke4nt
Back to top
Profile PM 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Mar. 11 2005,08:15 QUOTE

Thanks.  Guess a partition's not much good without a filesystem, so I do need mkdosfs.

Not using pendrive/embedded so the easy way to get mkdosfs is to apt-get install dosfstools.

RE: my second question -- I've been  writing an easy-to-use set of scripts to (u)mount up to 7 encrypted volumes using loop-aes via emelfm buttons.  This all works suprisingly well except that when I format my loop device with vfat or msdos and then umount, on mounting again I can only access the mount point directory as root.

It seems the usual code to grant permission to the user dsl (taken from the web), where $FILE is the encrypted container/device and /mnt/tmp is the mount point, is:

chmod go= $FILE
# Then after mounting on /mnt/tmp:
chown dsl -R /mnt/tmp
chmod go= -R /mnt/tmp
# Then umount.

This works fine for ext2 or ext3 but I get "permission denied" type errors on chown for vfat or msdos, and "pt-chown needs to be installed", whatever that is.

(PS: the scripts seem to have to be run as root anyway because losetup requires root, but it would be nice to have the option of accessing a mount point directory as dsl if so desired - though it might be argued that an encrypted mount point should only be accessible as root for security reasons anyway?).


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
3 replies since Mar. 10 2005,15:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: FAT32 and dosfstools

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code