You are not logged in.

#1 2006-01-23 16:20:58

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Multiple /dev designator fstab(solved in udev rules)

Is it possible to enable multiple USB ID's in fstab as follows;

/dev/sc[0-9] /cdrom iso9660 ro,users,noauto  0  0

The cdrom is connected on an IDE-USB cable.

The idea is to enable audio CD regardless  of the state of the USB selection process.

Adding an entry for each USB designator is an option.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2006-01-23 16:35:39

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Multiple /dev designator fstab(solved in udev rules)

I think you can do that with udev rules. Not statically in fstab though.

Dusty

Offline

#3 2006-01-23 17:00:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Multiple /dev designator fstab(solved in udev rules)

Dusty;

Perhaps you can expand on the udev rule suggestion?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2006-01-24 00:36:35

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Multiple /dev designator fstab(solved in udev rules)

Entered the following in CD Symlinks;
==============================================================
BUS=="scsi",    KERNEL="scd[0-9]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
=============================================================
This seems to have solved the selection for audio cd's in USB-cdrom, regardless of the designator.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB