Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv3421/src

Modified Files:
        config.py 
Log Message:
Patch from Lars Eggert to support FreeBSD device naming conventions.


Index: config.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** config.py   15 Aug 2003 19:25:14 -0000      1.37
--- config.py   20 Aug 2003 13:33:48 -0000      1.38
***************
*** 23,26 ****
--- 23,29 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.38  2003/08/20 13:33:48  outlyer
+ # Patch from Lars Eggert to support FreeBSD device naming conventions.
+ #
  # Revision 1.37  2003/08/15 19:25:14  dischi
  # search all the share stuff in $FREEVO_SHARE now
***************
*** 342,346 ****
  if not ROM_DRIVES:
      if os.path.isfile('/etc/fstab'):
!         RE_CD = '^(/dev/cdrom)[ \t]+([^ \t]+)[ \t]+'
          RE_CDREC ='^(/dev/cdrecorder)[ \t]+([^ \t]+)[ \t]+'
          RE_DVD ='^(/dev/dvd)[ \t]+([^ \t]+)[ \t]+'
--- 345,349 ----
  if not ROM_DRIVES:
      if os.path.isfile('/etc/fstab'):
!         RE_CD = '^(/dev/cdrom|/dev/a?cd\dc?)[ \t]+([^ \t]+)[ \t]+'
          RE_CDREC ='^(/dev/cdrecorder)[ \t]+([^ \t]+)[ \t]+'
          RE_DVD ='^(/dev/dvd)[ \t]+([^ \t]+)[ \t]+'
***************
*** 383,386 ****
--- 386,393 ----
                      mntdir = devname = dispname = ''
  
+           # FreeBSD mount point is device name + "c"
+             if os.uname()[0] == 'FreeBSD':
+                 devname = devname[:-1]
+  
              # Weed out duplicates
              for rd_mntdir, rd_devname, rd_dispname in ROM_DRIVES:




-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to