Op zondag 2 februari 2014 13:42:06 schreef jdd:
Le 02/02/2014 13:21, Freek de Kruijf a écrit :
Op zondag 2 februari 2014 03:24:54 schreef Sudhir Anand:
On Sat, 2014-02-01 at 14:19 +0100, Freek de Kruijf wrote:
I have an SD card on /dev/sde. The command "findmnt -l" does not show anything mounted on /dev/sde*'. I am the root user.
first thank you quoting the command findmnt that I didn't know and give a much cleaner display than df!
You'r welcome.
then did you notice /dev/sdx is *not* a mount point, but a device?
of course.
When I mount the SD card, which is mounted as a vfat device, I am also unable to write on the device.
do you mean you used findmnt *after* mounting the card?
I did both. I just wanted to explain that the device was not mounted when I tried to write the image to the device using dd.
do fdisk -l show the card? or fdisk /dev/sde? It's unsual to have a file system on a raw non partionned device (even if it should be allowed)
# fdisk -l /dev/sde Disk /dev/sde: 3980 MB, 3980394496 bytes, 7774208 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x00005c80 Device Boot Start End Blocks Id System /dev/sde1 2048 155647 76800 c W95 FAT32 (LBA) /dev/sde2 160650 417689 128520 82 Linux swap / Solaris /dev/sde3 417690 7759394 3670852+ 83 Linux
and after mounting it, findmnt > f.txt gives
└─/mnt /dev/sde1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname =mixed,errors=remount-ro
I got: │ ├─/var/run/media/freek/BOOT /dev/sde1 vfat ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=i │ └─/var/run/media/freek/root /dev/sde3 ext2 ro,nosuid,nodev,relatime
jdd
-- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org