Re: Mounting SD card with specific encoding



On 26/12/2007, Tod Merley <todbot88@xxxxxxxxx> wrote:
As Ed Greshko points out my dyslexia has soured the soup. I saw 1255
but typed 1225 (twice!). That little change may well fix it.

I tried both 1225 and 1255. No change in situation, ie, the drive
would not mount with the same error.

The mount command you used kind of scares me. What I think you wanted
to do is to unmount your device located at /dev/sdb1. What you told
your system to do was to unmount ALL file systems found in fstab!! It
is good that the system will not unmount devices in use, you would
have lost it all.

To unmount /dev/sdb1 issue: umount /dev/sdb1.

That did not work either, so I tried the -a flag as the mount manpage
says that it will unmount everything in /etc/mtab. I thought that mtab
was for things added to the filesystem that are not in fstab, ie,
removable media. I just cat'ed the file and I see that I was mistaken.
You know, the best way to learn is to break something! However, this
is my workstation and I really should be more careful.

Actually I used to contribute to both the Ubuntu and the Fedora lists.
I have both on this machine. I tend to use Fedora when connected to
the Internet since I believe that it's pretty good implementation of
SELinux makes me a bit more secure in this more hostile world. I am
glad to see this thread here since many languages are used by those
using Fedora.

SELinux is the reason that I also stay with Fedora for everyday work.
The other reason is that I really like the Fedora philosophy. I
usually stick with N-1, however, as the most current version is always
to broken for me.


The "messages" are a bit differant though. Here is what happens when
I plug in my flash drive:

[root@localhost dev]# tail /var/log/messages
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] 2013184 512-byte
hardware sectors (1031 MB)
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive
cache: write through
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] 2013184 512-byte
hardware sectors (1031 MB)
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive
cache: write through
Dec 25 19:34:35 localhost kernel: sdb: sdb1
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk
Dec 25 19:34:35 localhost kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0
Dec 25 19:34:38 localhost hald: mounted /dev/sdb1 on behalf of uid 500

The last line is hald doing the automount.

You may find the command lsusb -v useful. Also (from /dev before and
after inserting the flash drive):
[root@localhost dev]# ls -l sd*
brw-r----- 1 root disk 8, 0 2007-12-25 07:20 sda
brw-r----- 1 root disk 8, 1 2007-12-25 07:20 sda1
brw-r----- 1 root disk 8, 2 2007-12-25 07:20 sda2
brw-r----- 1 root disk 8, 3 2007-12-25 15:20 sda3
[root@localhost dev]# ls -l sd*
brw-r----- 1 root disk 8, 0 2007-12-25 07:20 sda
brw-r----- 1 root disk 8, 1 2007-12-25 07:20 sda1
brw-r----- 1 root disk 8, 2 2007-12-25 07:20 sda2
brw-r----- 1 root disk 8, 3 2007-12-25 15:20 sda3
brw-r----- 1 root disk 8, 16 2007-12-25 19:34 sdb
brw-r----- 1 root disk 8, 17 2007-12-25 19:34 sdb1

Thank you, I know about this, this is how I find where things got stuck in /dev.

Well, I am rambling! Did not sleep well last night.

Does anyone? My one-year old is pushing her teeth out now, nobody sleeps!

As using copepage 1255 did not work, is there anything else that I
could try? I tried using flag -t msdos instead of -t vfat but that did
not help either.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Mounting SD card with specific encoding
    ... My Fedora box is UTF-8, but the SD card in my Nokia ... I read man mount and I see no mention of encodings. ... The mount command to fix this will be something like: ... Actually I used to contribute to both the Ubuntu and the Fedora lists. ...
    (Fedora)
  • [SLE] How would you like hotplugged USB drive mounting to work?
    ... User plugs in USB storage device. ... A mount point in /media has been automatically generated. ... he tried to unmount by going to Konqueror's ... Window disappears. ...
    (SuSE)
  • Re: External Hard Drive Mounting Problem for Back ups
    ... Just installed Fedora 8 on my Dell Inspiron ... I suspect you don't really want to "permanently mount" removable ... I suspect that he may run into a problem using it for backup if he ... You can also use the entire drive as one file system. ...
    (Fedora)
  • Re: How to Mount devices
    ... > I am testing a couple of versions of Linux, Knoppix and Fedora. ... > I want to open a console session and mount the same devices in Fedora, ... specify the file system. ... For such cases we have the autofs application. ...
    (alt.linux)
  • Permissions for Zip and Floppy drives?
    ... Store-bought SUSE 10.1, Compaq AP550, internal SCSI HD, external SCSI Zip100 drive, internal floppy. ... Cannot mount or unmount floppy or Zip as an ordinary user from desktop, I'm asking about both problems here as I suspect that they are related. ... Icons were placed on the desktop for each device by the install program, but the icons seem unrelated to the devices or the file systems. ...
    (alt.os.linux.suse)