What is a New Block Device
I'm trying to use a PCMCIA adapter for CompactFlash Card in my lap top. When I do tail /var/log/messagess I get about six lines tha say "new block device /block/hde/hde1". How can I mount this device so I can get to my images.
This is on an IBM i seraies 1500 running Novell's NLD, Kernal version: 2.6.5--7.155.29. Carl |
it would help to see these messages...
Have you tried "mount /dev/hde1 /mnt/where/you/want/it" ? /block/hde/hde1 is quite a strange device... In any case it has to be somewhere into /dev, maybe /dev/block/hde/hde1 ? :) |
When I try to mount this is what I get: Mount can't find /dev/hde1 in /etc/fstab or /etc/mtab.
How can I get a screen shot of /var/log/message to post so you can see it? Carl |
Quote:
command is : mount <what device> <where to mount> Don't just try mount /dev/hde1 it will not work unless you have an entry in fstab about it (that's what it complains about). If you want a printscreen, you may have some printscreen application on your system already (like ksnpashot if you have KDE) but just a copy/paste would be good too. |
Here is the bottom of the Message file.
Aug 18 19:36:23 linux kernel: hde: hde1 Aug 18 19:36:24 linux kernel: hde: hde1 Aug 18 19:36:24 linux /etc/hotplug/block.agent[26541]: new block device /block/hde/hde1 Aug 18 19:36:24 linux kernel: hde: hde1 Aug 18 19:36:25 linux /etc/hotplug/block.agent[26597]: new block device /block/hde/hde1 Aug 18 19:36:25 linux kernel: hde: hde1 Aug 18 19:36:25 linux /etc/hotplug/block.agent[26649]: new block device /block/hde/hde1 Aug 18 19:36:25 linux kernel: hde: hde1 Aug 18 19:36:25 linux /etc/hotplug/block.agent[26721]: new block device /block/hde/hde1 Aug 18 19:36:26 linux kernel: hde: hde1 Aug 18 19:36:26 linux /etc/hotplug/block.agent[26770]: new block device /block/hde/hde1 Aug 18 19:36:27 linux kernel: hde: hde1 Aug 18 19:36:28 linux /etc/hotplug/block.agent[26833]: new block device /block/hde/hde1 Aug 18 19:36:28 linux /etc/hotplug/block.agent[26892]: new block device /block/hde/hde1 Aug 18 19:36:28 linux kernel: hde: hde1 linux:~ # I'm sorry but I don't understand this command. I'm just learning Linux. command is : mount <what device> <where to mount> So I would type: mount /dev/hde1 then what? Carl |
/dev/hde1 (or whatever what it may be, if you mount something else a day) is the " what device" part
then you need to tell the system when you want to mount this device... "mount" add a device/hdd/cdrom/storage/whatever to your system as a directory (in opposition of a drive letter like A: D: or E: in windoze). Therefore, you need to tell mount _where_ it should mount this device, in other word _in which directory_ it will be accessible. Choose an empty directory (because once the directory will be used by mount, the files in the device will replace the files in this directory, until you unmount), it may be anywhere, the usual way is to create a folder in /mnt or /media, but it's up to you. This folder would be the "where to mount" part. Note : mount will _not_ create the directory by itself and will complain if the dirrectory doesn't exist yet So, a possible example : "mount /dev/hde1 /mnt/flash" (assuming you've created /mnt/flash) |
Ok. I did a: I went into mnt and created a folder called pcmcia, cd / back to root and typed: mount /dev/hde1 /mnt/pcmcia and hit enter and it came back to linux:/ # with no errors. Now how do I get to my data?
|
Quote from my last message :
Quote:
|
Hey,my data is there. Thank you! Thank you!
Now do I have to unmount and remount every time I take the PCMCIA card out and put it back in? Is there a way I can put a short or icon on my desktop for this? One other question. Would you take a look at the other thread I have posted in this fourm and see if you have any idea about that? Agana Thanks for your help. Carl |
Quote:
|
All times are GMT -5. The time now is 11:38 AM. |