DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Thanked 1 Time in 1 Post
Default Help with some more sensible fstab defaults

a while ago I decided to set up automounting with HAL but backed out as I didn't really like it (seemed to get loads of disc icons cluttering my desktop...)

anyway, I'd like to have something more sensible in my fstab for average disc usage (burning, playing cds etc.) than this:

Code:
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/ad0s1b		none		swap	sw		0	0
/dev/ad0s1a		/		ufs	rw		1	1
/dev/ad0s1e		/tmp		ufs	rw		2	2
/dev/ad0s1f		/usr		ufs	rw		2	2
/dev/ad0s1d		/var		ufs	rw		2	2
/dev/acd0		/dvdburner	cd9660	rw,noauto	0	0
/dev/acd1		/dvdrom		cd9660	ro,noauto	0	0
/dev/da0s1		/mnt/flash	msdosfs	rw,noauto	0	0
/dev/acd0  		/usr/home/max/dvdburner cd9660  rw,noauto,nosuid  0  0
/dev/acd1  		/usr/home/max/dvdrom cd9660  ro,noauto,nosuid  0  0
before any RTFM style responses, I'll quickly point out that I've been reading :
http://www.freebsd.org/doc/en/books/...t-unmount.html
http://www.freebsd.org/cgi/man.cgi?q...ts&format=html
Complete FreeBSD
Absolute FreeBSD
&
FreeBSD Unleashed

Basically, I'm just asking for a useful, sensible default for some average multimedia/burning style use.

Last edited by maxrussell; 12th July 2009 at 01:13 PM.
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Code:
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/ad0s1b		none		swap	sw		0	0
/dev/ad0s1a		/		ufs	rw		1	1
/dev/ad0s1e		/tmp		ufs	rw		2	2
/dev/ad0s1f		/usr		ufs	rw		2	2
/dev/ad0s1d		/var		ufs	rw		2	2
*/dev/acd0		/dvdburner	cd9660	rw,noauto	0	0
+/dev/acd1		/dvdrom		cd9660	ro,noauto	0	0
/dev/da0s1		/mnt/flash	msdosfs	rw,noauto	0	0
*/dev/acd0  		/usr/home/max/dvdburner cd9660  rw,noauto,nosuid  0  0
+/dev/acd1  		/usr/home/max/dvdrom cd9660  ro,noauto,nosuid  0  0
you might want to move acd0 & acd1 to /mnt/dvdburner & /mnt/dvdrom and remove the other two entries that put mount points in your home folder.
Reply With Quote
  #3   (View Single Post)  
Old 15th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Thanked 1 Time in 1 Post
Default

Done.

Anything else useful?

I'm going to come right out and say I have no idea how to play a cd on my FreeBSD box, so is there anything can help that (barring my stereo...)
Reply With Quote
  #4   (View Single Post)  
Old 15th July 2009
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

Code:
kldload [path] [sound driver]
mixer [parameters]
cdcontrol play
May work with an audio cable plugged into the front of the cd drive.
That is probably the simplest method...
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
  #5   (View Single Post)  
Old 18th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Thanked 1 Time in 1 Post
Default

There must be something more accessible than that.

In a previous incarnation, I had Ubuntu on this box. If I stuck in a music disc, it opened my chosen media player.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get 'make' to accept all defaults for dependent packages Xeon FreeBSD Ports and Packages 1 12th February 2009 01:54 AM
C F Card and fstab terryd FreeBSD General 1 3rd December 2008 05:26 PM
Mounting ext2 in fstab latorion FreeBSD General 3 6th August 2008 04:56 PM
mount fusefs (sshfs) from fstab elon FreeBSD General 4 29th July 2008 06:41 PM
fstab and CD/DVD device corneliu FreeBSD General 7 24th May 2008 02:11 AM


All times are GMT. The time now is 04:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick