Click to See Complete Forum and Search --> : 2 debian questions


Lend273
04-04-2001, 04:32 PM
Question 1:
How do I get my /dev/lp0 back? I accidently
deleted it while trying to setup my printer.
Now it says "device not configured".

Question 2:
How do I mount another Linux partition on another hardrive?
I am in hda1 and I want to mount a linux partition in hdb1. What's the correct way to do this?

Thanks again for the help.
Len

Ig0r
04-04-2001, 05:13 PM
To make a new character device file, use mknod:
mknod /dev/lp0 c 6 0

(major 6 and minor 0 is what mine is, so it should work for you.)

To mount a drive, just make a new directory somewhere where it will be mounted (I put all of my non-essential mounts inside /mnt [eg. /mnt/floppy/ /mnt/cdrom/])
Then just issue a:
mount /dev/whatever /mnt/mountpointhere

and when you're done:
umount /mnt/mountpointhere

or
umount /dev/whatever