LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 07-22-2011, 04:56 PM   #1
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Rep: Reputation: 17
2 opticals wish for them to mount /media/01 & /media/02


Friends,


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
/media/02/dog

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
mkdir /media/01
mkdir /media/02

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
 
Old 07-22-2011, 07:04 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,603

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
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 .
 
0 members found this post helpful.
Old 07-22-2011, 07:47 PM   #3
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 288
Blog Entries: 1

Rep: Reputation: 41
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..)

Last edited by sunnydrake; 07-22-2011 at 07:49 PM.
 
Old 07-24-2011, 10:21 AM   #4
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Original Poster
Rep: Reputation: 17
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.
eeessssshhhhh
 
Old 07-24-2011, 04:55 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,022
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
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.

Last edited by onebuck; 07-25-2011 at 09:29 AM. Reason: Add LQR
 
0 members found this post helpful.
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Media streaming between WMP and Linux media players (preferably Amarok) EducatedWhiteTrash Linux - Software 2 08-20-2010 08:11 PM
Can I install Media Jukebox 12 with Ubuntu OS? Needs Windows Media Player Files. tlcmd Linux - Newbie 2 01-08-2010 03:29 PM
A Media Management Sytem (Windows Media Centre) for linux? carl0ski Linux - Software 5 12-07-2005 07:52 PM
Cannot read package data from installation media. Media error? </m0r1arty> Suse/Novell 2 01-26-2005 07:57 PM
opinion... scsi opticals vs. ide opticals MitchM99 Linux - Hardware 0 12-10-2003 08:29 AM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration