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.
df -h reveals:
Filesystem Size Used Avail Use% Mounted on
/dev/scd0 23M 23M 0 100% /mnt/rev
/sbin/fdisk -l
shows nothing related to the rev
Here is my fstab:
/dev/rev /mnt/rev udf,iso9660 noauto,user,kudzu,rw 0 0
Here is my /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Iomega Model: RRD Rev: 74.B
Type: CD-ROM ANSI SCSI revision: 02
ls -l /dev/rev
lrwxrwxrwx 1 root root 9 Dec 9 21:36 /dev/rev -> /dev/scd0
ls -l /dev/scd*
brw------- 1 jordan disk 11, 0 Feb 23 2004 /dev/scd0
brw-rw---- 1 root disk 11, 1 Feb 23 2004 /dev/scd1
brw-rw---- 1 root disk 11, 2 Feb 23 2004 /dev/scd2
brw-rw---- 1 root disk 11, 3 Feb 23 2004 /dev/scd3
brw-rw---- 1 root disk 11, 4 Feb 23 2004 /dev/scd4
brw-rw---- 1 root disk 11, 5 Feb 23 2004 /dev/scd5
brw-rw---- 1 root disk 11, 6 Feb 23 2004 /dev/scd6
brw-rw---- 1 root disk 11, 7 Feb 23 2004 /dev/scd7
(note /dev/scd0 was brw-rw---- and owned by root at one time...)
I changed it back and linux changed it again..
The problem is I can't write to this device and it is the wrong size!
Here is what I get when I fsck my zip (250) drive:
[root@dot mnt]# /sbin/fsck /dev/sda4
fsck 1.35 (28-Feb-2004)
dosfsck 2.8, 28 Feb 2001, FAT32, LFN
/dev/sda4: 2240 files, 7592/49039 clusters
Here is what I get when I fsck my iomega (rev) drive:
[root@dot mnt]# /sbin/fsck /dev/rev
fsck 1.35 (28-Feb-2004)
fsck: fsck.udf: not found
/sbin/fsck: Error 2 while executing fsck.udf for /dev/rev
Now my question:
How do I make it rw for everyone when I mount it as either myself or root? I looked at the man pages for fstab and mount, but am still confused.
And another question (I know I said I only had one...)
Is there a way to specify a directory or file as compressed so that when files are put there the magically become compressed (like that other operating system that we don't talk much about in this type of newsgroup?)
thanks
Last edited by jordanthompson; 12-10-2004 at 09:29 AM.
How do I make it rw for everyone when I mount it as either myself or root?
Assuming you wish to allow any user to mount the drive, in your fstab, change "owner" to "users". That should do it. Congrats on getting it working. -- J.W.
my fstab is now this:
/dev/rev /mnt/rev auto noauto,users,kudzu 0 0
/dev/sda4 /mnt/zip auto noauto,users,kudzu 0 0
and my file permissions before mounting are this:
drwxrwxrwx 2 root root 4096 Dec 9 20:53 rev
drwxrwxrwx 2 root root 4096 Dec 9 20:53 zip
but my file permisions after mounting both as myself are this:
drwxr-xr-x 8 root root 4096 Dec 10 10:35 rev
drwxr-xr-x 4 jordan thompsons 16384 Dec 31 1969 zip
and if I mount them as root I get this:
drwxr-xr-x 8 root root 4096 Dec 10 10:35 rev
drwxr-xr-x 4 root root 16384 Dec 31 1969 zip
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.