[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re (2): mkdosfs -C ...



Since the original trial, the system was upgraded from 
Squeeze to Wheezy.  

From:	Klaus <klaus.doering999@gmail.com>
Date:	Tue, 04 Jun 2013 08:54:46 +0100
> Increase block count a little, and hey presto:
> $ sudo mkdosfs -v -C FatFile2 1024
> mkdosfs 3.0.16 (01 Mar 2013)
> FatFile2 has 64 heads and 32 sectors per track,
> logical sector size is 512, ...

In Wheezy I fare no better than in Squeeze.
root@dalton:~# mount | grep sdb
/dev/sdb1 on /media/usb0 type vfat (rw,nodev,noexec,noatime,nodiratime,sync,fmas
k=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-r
o)
root@dalton:~# ls -ld /media/usb0
drwxr-xr-x 3 root root 16384 Jun  4 18:12 /media/usb0
root@dalton:~# mkdosfs -v -C /media/usb0/FatFile 1024
mkdosfs 3.0.13 (30 Jun 2012)
mkdosfs: unable to create /media/usb0/FatFile

From:	Klaus <klaus.doering999@gmail.com>
Date:	Tue, 04 Jun 2013 08:48:22 +0100
> ... didn't understand why you used the -"C" option in this case 
> instead of just giving the device name ?

The intention is to make an empty file occupying the whole 
partition.  Then another filesystem can be mounted on that 
empty file; or "another filesystem can occupy that file" might 
be better terminology.  The -C option is explained briefly 
by man mkdosfs.  Loop device is explained in Wikipedia.

http://en.wikipedia.org/wiki/Loop_device

Regards,           ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


Reply to: