2 opticals wish for them to mount /media/01 & /media/02
Background - i wish to transcode dvd movies into mp4
and i have a batch script that does that nicely.
But I wish to do 2 dvd at a time .
I have 2 optical drives
but these auto mount under /media/**Name of the DVD disc **
and my real difficulty is many of the dvd disc I have were made with a dvd appliance so they ALL have the same name DVD Video Recording
this results in : if i put in 1 , a second will not mount.. because ( i figure ) they both ahve the same name
My Goal is to do something with ...fstab??
that will ensure that optical 1
always mounts as something like
optical 1 : sr0 always mounts as
/media/01/**Name of disc volume**
optical 2 : sr1 always mounts as
/media/02/**Name of disc volume**
regarding the **Name of disc volume**
this means a dvd disc named dog placed in the second dvd drive mounts as
This way i will always know the path to the vobs
as in /media/02/dog/VIDEO_TS/VTS*.VOB
dev ls shows
lrwxrwxrwx 1 root root 3 Jul 22 11:07 cdrom -> sr1
lrwxrwxrwx 1 root root 3 Jul 22 11:07 dvd -> sr1
lrwxrwxrwx 1 root root 3 Jul 22 11:07 scd1 -> sr1
brw-rw----+ 1 root cdrom 11, 1 Jul 22 11:07 sr1
drwxrwxrwt 2 root root 180 Jul 22 11:05 shm
lrwxrwxrwx 1 root root 3 Jul 22 10:55 cdrom1 -> sr0
lrwxrwxrwx 1 root root 3 Jul 22 10:55 cdrw1 -> sr0
lrwxrwxrwx 1 root root 3 Jul 22 10:55 dvd1 -> sr0
lrwxrwxrwx 1 root root 3 Jul 22 10:55 dvdrw1 -> sr0
lrwxrwxrwx 1 root root 3 Jul 22 10:55 scd0 -> sr0
brw-rw----+ 1 root cdrom 11, 0 Jul 22 10:55 sr0
so I was thinking that i would do a
chmod both those to 777
MY Question is HOW to I make it such that
dvd drive 1 sr0 mounts under /media/01/
as /media/01/**Name of the dvd volume**
dvd drive 2 sr1 mounts under /media/02/
as /media/02/**Name of the dvd volume**
this last sticking point is all i have to solve
so can i put something in the fstab -- and what would that be
or can i do an explicit mount ( run a script )
and i am thinking id a given dvd still auto mounts
under /media/**Name of the dvd volume**
then that is no harm
my system OpenSuse 11.4 32bit 2 optical drives
you might have a hard time getting help to break USA law .
yes you can make 1 one and only one back up under us law ( though you have to break the law to do it )
but it is against the us law to transcode it , that is a clear violation of the DMCA .
I had hard time with floppy mounts in ubuntu. I figured out that "udev" have ruleset to autodetect and mount devices, there is a dir (i forgot where) where ruleset(including naming scheme) is placed.Work with fstab produced bad results for me(manual mount's,flush,etc..)
In response to the Matter of breaking USA law.
again , these dvd were made with a dvd appliance - that is why they all have the same name DVD VIDEO RECORDING.
I have complete and total - unQualified ownership of the content.
The org content was on analog tape.
in fact *I* am the only one on the planet that does have such ownership.
Analog tapes (many) were made into DVDs by means of the dvd appliance.
I simply wish to Repurpose the the mpg2 ( VOBS ) into wmv, To transcode it all.
( going back to the org tape is impossible )
DMCA --absolutely not applicable.
No laws will be broken.
So -- You are very very wrong about my intent and the legality of my task
Note : 'Hollywood' dvd of motion pictures or *any* authored dvd will tend to NOT have such a generic name. If you go to the dvd section of any Library or the entire holdings of netflix You will find that they all have "Volume" titles that are specific to that they are. They all have unique names.
If that was my goal .... I would be done ...now!
so in summary : I will not be breaking any law of the USA or anywhere else.
What i intend is -- as we say here in the USA --- AOK .....mate.
This thread is closed. LQ members have every right to suggest or question the legalities. I too question this. If you have any questions then contact me via PM.
EDIT: I should have provided to the thread/OP the LQR:
Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
My apologies to everyone for the omission.
|All times are GMT -5. The time now is 03:36 AM.|