Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
When I try to mount this is what I get: Mount can't find /dev/hde1 in /etc/fstab or /etc/mtab.
Take a close look at the example I gave you :
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.
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.
/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?
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?
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?
Yes, you have to mount it each time. Most desktop environnement (KDE, Gnome, etc) will let you add an icon (in KDE, just add a new "device" and edit the properties, I don't know about Gnome) that will mount for you. There is some "automount" tools too but I don't use that kind of things so I can't tell you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.