Q. In unix/linux, you mount your floopy drive file system on an empty directory. If you happen to mount it on a non-empty directory, the directory content is not accessible. Then in what circumstances you might consider mounting a file system on a non-empty directory ?
A. Never
How can I install linux on multiple computers with the same settings?
Q. I have 7 computers that I would like to install linux on (CentOS to be specific). The computers are all slightly different in terms of hardware, some are Intel, others are AMD. I have to install a lot of packages. I would like to be able to just do all the installation work on one computer, and then clone that system to all the others and just change hostnames. Is this possible?
A. maybe is the simple answer,
partimage is the program to look at
http://www.partimage.org/Main_Page
i use it via knoppix live cd as you cannot image a mounted drive - so its a waste of time installing partimage on the first centos and trying to image it
you may need to install centos on an intel and an amd and image both,
only takes a few mins to image though
partimage is the program to look at
http://www.partimage.org/Main_Page
i use it via knoppix live cd as you cannot image a mounted drive - so its a waste of time installing partimage on the first centos and trying to image it
you may need to install centos on an intel and an amd and image both,
only takes a few mins to image though
How do you list mountable usb devices on linux from terminal?
Q. I am using Damn Small Linux and would like to display a list of all connected usb storage devices and their names from terminal for example i would like to be able to figure out what my ipod would be when connected for example /dev/sda1 or whatever. Thanks in advance!
A. Actually what you want is probably a combination of "lsusb" and "dmesg | tail".
- Run lsusb before and after you plug in a USB device - it lists all the detected USB devices on the system. If you get a new device listed after you plugged in, you're on your way to mounting the device.
- The next step is to run "dmesg | tail". The dmesg command spits out the kernel log. The tail command will filter it to show the last few lines. You are looking for something like:
sd 15:0:0:0: [sdb] Attached SCSI removable disk
sd 15:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
As you can see in the example above, I attached a removeable disk which was assigned to sdb (of course yours might be sda, sdc, etc).
With a combination of the 2 commands above, and possibly doing a "ls /dev | grep <the assigned device node from above, like sdb>" you can find what devices you have available to mount. The reason you might want to do the ls is for devices with more than one partition.
- Run lsusb before and after you plug in a USB device - it lists all the detected USB devices on the system. If you get a new device listed after you plugged in, you're on your way to mounting the device.
- The next step is to run "dmesg | tail". The dmesg command spits out the kernel log. The tail command will filter it to show the last few lines. You are looking for something like:
sd 15:0:0:0: [sdb] Attached SCSI removable disk
sd 15:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
As you can see in the example above, I attached a removeable disk which was assigned to sdb (of course yours might be sda, sdc, etc).
With a combination of the 2 commands above, and possibly doing a "ls /dev | grep <the assigned device node from above, like sdb>" you can find what devices you have available to mount. The reason you might want to do the ls is for devices with more than one partition.
Nec Projector Review
Plastic Shed Reviews
Ati Graphic Reviews
Nurse Uniforms Reviews
Cabochons Reviews
Inflatable Water Slides Reviews
Barcode Scanner Reviews
No comments:
Post a Comment