I Have a dane-elec usb compact flash reader and dane-elec cards. they read and write nicely under RC1 but when I do a "df" they are not listed. Mount show them mounted on /dev/sda1 why don't df show them? how can I know the card size if not with df? thanks jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
On Mon, 2005-09-26 at 15:59 +0200, jdd wrote:
I Have a dane-elec usb compact flash reader and dane-elec cards.
they read and write nicely under RC1
but when I do a "df" they are not listed. Mount show them mounted on /dev/sda1
why don't df show them?
how can I know the card size if not with df?
thanks jdd
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page. Claes
On Mon, 2005-09-26 at 19:49 +0200, Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
Claes
Because if you are in the directory of the media card you will not be able to cleanly umount the device even though you can still physically remove it. Try to unmount the device while you are in the /media/sda1, you will get an error that the device is busy. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Mon, 2005-09-26 at 19:49 +0200, Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
Also, please do not cross-post to both lists. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space.
don't change any thing :-( jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space.
it don't make any difference jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
On Monday 26 September 2005 2:58 pm, jdd sur free wrote:
Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space.
it don't make any difference jdd
On my 9.3 system it doesn't list any automount directories/devices such as CD/DVD, floppy or USB attached storage. If I cd to that directory and do 'df .' it lists it. If I do 'df /media/usbdisk' it lists it. FWIW, YMMV, etc Stan
Stan Glasoe wrote:
On Monday 26 September 2005 2:58 pm, jdd sur free wrote:
Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. it don't make any difference jdd
On my 9.3 system it doesn't list any automount directories/devices such as CD/DVD, floppy or USB attached storage. If I cd to that directory and do 'df .' it lists it. If I do 'df /media/usbdisk' it lists it.
well, curious. I plug the device, konqueror starts. F4, I open a terminal end: jdd@peter-suse:/media/CANON_DC> df Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté sur /dev/hda8 10490040 5421000 5069040 52% / tmpfs 257888 0 257888 0% /dev/shm /dev/hda9 32144996 793492 31351504 3% /data2 /dev/hda5 10490040 7853036 2637004 75% /data1 /dev/hda7 10490040 5683712 4806328 55% /data3 jdd@peter-suse:/media/CANON_DC> df . Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté sur /dev/sda1 0 0 0 - /media/CANON_DC jdd@peter-suse:/media/CANON_DC> df Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté sur /dev/hda8 10490040 5421000 5069040 52% / tmpfs 257888 0 257888 0% /dev/shm /dev/hda9 32144996 793492 31351504 3% /data2 /dev/hda5 10490040 7853036 2637004 75% /data1 /dev/hda7 10490040 5683712 4806328 55% /data3 jdd@peter-suse:/media/CANON_DC> jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
Hello, Am Montag, 26. September 2005 19:49 schrieb Claes at work:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
It has nothing to do with df - it has to do with the automatic (u)mount. If you are _not_ in the directory, it will not be mounted... Regards, Christian Boltz -- Aber genauso können mir ja auch die Grünen leid tuen. Da bin ich doch lieber blau ... [Konrad Neitzel in suse-linux]
Christian Boltz wrote:
Hello,
Am Montag, 26. September 2005 19:49 schrieb Claes at work:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device. What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
It has nothing to do with df - it has to do with the automatic (u)mount. If you are _not_ in the directory, it will not be mounted...
but mount show it and df don't, is that normal? jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
On Tuesday 27 September 2005 08:17, jdd wrote:
Christian Boltz wrote:
Hello,
Am Montag, 26. September 2005 19:49 schrieb Claes at work:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
It has nothing to do with df - it has to do with the automatic (u)mount. If you are _not_ in the directory, it will not be mounted...
but mount show it and df don't, is that normal?
it was a workaround for a problem with rpm and broken hardware. However, this has been solved for 10.0 and df should work as you expect again. bye adrian -- Adrian Schroeter SuSE AG, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de
Adrian Schroeter wrote:
it was a workaround for a problem with rpm and broken hardware. However, this has been solved for 10.0 and df should work as you expect again.
nice, thanks jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
Claes at work wrote:
cd to /media/sda1 and then issue the df command, it should now show the amount of used/free space. Make sure you cd back to your home dir before removing the device.
What is the reason the current directory is significant? I can't find an explanation for that in the df man page.
Claes
It's not necessary, you can issue df from any directory, what it does is report on ALL MOUNTED filesystems. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
Sid Boyce wrote:
It's not necessary, you can issue df from any directory, what it does is report on ALL MOUNTED filesystems. Regards Sid. nope.
my usb device is mounted (I can read and write) but don't show with df, but show with mount (and of course in mtab) /dev/sda1 on /media/CANON_DC type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true) jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
jdd sur free wrote:
Sid Boyce wrote:
It's not necessary, you can issue df from any directory, what it does is report on ALL MOUNTED filesystems. Regards Sid.
nope.
my usb device is mounted (I can read and write) but don't show with df, but show with mount (and of course in mtab)
/dev/sda1 on /media/CANON_DC type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true) jdd
Hmmmmmmmm....... perhaps because I'm mounting mine manually as I move it around different boxes, but df shows me all mounted filesystems as per the man page. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
Sid Boyce wrote:
Hmmmmmmmm....... perhaps because I'm mounting mine manually as I move it around different boxes, but df shows me all mounted filesystems as per the man page.
I had an answer on the opensuse list it was a temporary workaround for a bug now corrected is final. jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
Am Montag, 26. September 2005 15:59 schrieb jdd:
I Have a dane-elec usb compact flash reader and dane-elec cards. .. mounted on /dev/sda1 .. how can I know the card size if not with df?
Hi jdd, echo $(($(cat /sys/block/sda/sda1/size) / 2)) KB -- mdc
participants (9)
-
Adrian Schroeter
-
Christian Boltz
-
Claes@work
-
jdd
-
jdd sur free
-
Ken Schneider
-
meister@netz00.com
-
Sid Boyce
-
Stan Glasoe