|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
DVD access
Hi,all,
I'm having this really frustrating problem. Perhaps I'm misunderstanding file permissions. Here's the problem: When I try to access my dvd at /dev/cd0c with ogle (and other players for that matter) my Openbsd will only allow this as root. Now, I tried to create a video group, add myself and the directory to it. Resulting in the same error message(see end of post) as before. Tried to make a ln -s of the dir, which results in a link that is in the wheel group, as I am i the wheel group and the read permission is set for "wheel"; shouldn't I be able to access the directory? That route didn't work either . The Openbsd FAQ doesn't go in to this and only offers a few examples of players to use. Sorry to bring you this noob question, but I'm trying to switch all of my computers to OpenBSD and these multimedia features where kind of pre-configured in most of the linux distros that I used before I switched. Anyway, thanks for your time, Z. Code:
ERROR[ogle_nav]: faild to open/read the DVD DVDSetDVDRoot:: Root not set |
|
|||
I'm a bit confused, did you seriously change the group of the entire /dev directory to "video"?
OpenBSD already has a group called "operator" that users can join, this action was entirely unnecessary. $ sudo user mod -G operator zazen Also, you always use the raw device node unless you're mounting.. /dev/rcd0c vs /dev/cd0c. Code:
crw-r----- 1 root operator 15, 2 May 8 13:15 /dev/rcd0c Have fun... |
|
|||
Quote:
Quote:
Would you be willing to provide a quick explanation why? Quote:
VLC is giving me REALLY bad performance on OBSD for some reason. Mplayer itself is great but Gmplayer crashes with compile errors. (Don't worry, I'll do my best to fix that myself without imposing even further on your time ) Thank you very much, learned something new once again. |
|
|||
Quote:
|
|
|||
So noted, thx. Z
|
|
|||
Quote:
It's just something you should remember as a rule of thumb, many of the base tools are starting to reject block devices as arguments now. Always use the raw character device if you aren't mounting. @jggimi, it does seem that Ogle can play DVD's that are mounted.. but it's debatable if users should be allowed to mount at all, it probably makes more sense to allow access to the device node.. either through the operator group or via some fbtab magic. |
|
||||
Of course, mounting isn't required for playing video DVDs and is not possible for audio CDs. A/V players are designed to use the raw devices, though for DVDs, one can mount them (they're bridged UDF/CD9660 filesystems) and use players with the VOB sets, if desired.
Block devices are only required for mounting filesystems, and will degrade performance if used for other purposes. Raw is recommended, and, for some operations, such as formatting partitions or burning optical media, raw devices are required. e.g.: compare the results from these two commands, run on an unmounted partition: # time dd if=/dev/wd0g of=/dev/null count=10000 # time dd if=/dev/rwd0g of=/dev/null count=10000 |
|
|||
You guys are in serious danger of losing your bad boy reputation of being unwilling to help noobs
|
|
||||
Have you seen this?
|
|
|||
Code:
$ time dd if=/dev/wd1a of=/dev/null count=1000 1000+0 records in 1000+0 records out 512000 bytes transferred in 0.014 secs (34434057 bytes/sec) 0m0.02s real 0m0.00s user 0m0.00s system $ time dd if=/dev/rwd1a of=/dev/null count=1000 1000+0 records in 1000+0 records out 512000 bytes transferred in 0.140 secs (3634144 bytes/sec) 0m0.14s real 0m0.00s user 0m0.07s system |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ssh access | carpman | FreeBSD Security | 8 | 19th February 2009 12:26 PM |
Securing ftp access | AlexDudko | FreeBSD Security | 6 | 12th January 2009 09:21 PM |
pf allow ftp access | ijk | FreeBSD Security | 9 | 25th August 2008 04:12 AM |
ssh/external access | jwhal | OpenBSD General | 11 | 21st May 2008 07:19 PM |
CD Access in KDE | Scott | FreeBSD General | 10 | 13th May 2008 05:48 AM |