Posted: Wed 06 Feb 2013, 03:05
@gcmartin,isn't UDF Microsoft's proprietary format like WMV?
I'm just askin'.
I'm just askin'.
READ-ONLY Archive
https://oldforum.puppylinux.com/
You nailed it there gc martin, clarified.In UDF, its key significance is how it manages the data on the CD/DVD so that it has familiar operation with what users have come to think of in their use of HDD/USB/SMB/DFS storage. That is the ability to freely read and write with the disc maintaining the integrity of data management in a similar fashion.
And, as far as UDF goes on CD/DVD technology, there is tremendous benefit to management at the TOC level.
This is and what I share never was an appeal for changing anything to do with Puppy's save-session. It, solely, approached the ability to create a disc that can be used to freely read and write on one system and employed similarly on a Puppy Linux system.
Code: Select all
finalising discs for a long time in the udf format
It's possible, I have done this, but optical drive support software does not even think about a disc having parts. If you want to have fun. here is a way to make a bootable harddrive image.tallboy wrote:If Ted Dog reads this, it would be interesting to see all the UDF boot code pasted into Barry's blog, I think line wrapping was off in the attached example.
EDIT: Sorry Ted Dog, I thought it was just a screenshot, not an active window.
Stupid question: If a live puppy is burnt to the first 'partition' on a multisession DVD-RW, can the rest of the disc be converted to UDF format, or must the whole disc be the same format to be recognized?
tallboy
Code: Select all
growisofs -Z /dev/sr0=/dev/hda
Ha ha good joke Flash, you are joking right? http://www.osta.org/membership/index.htmFlash wrote:UDF is a non-proprietary format. It has nothing to do with Microsoft.
It appears that the UDF specification is available for free to anyone who wants to use it.The Optical Storage Technology Association (OSTA) was incorporated as an international trade association in 1992 to promote the use of writable optical technologies and products. The organization’s membership includes manufacturers and resellers from three continents, representing more than 85 percent of worldwide writable optical product shipments, working together to educate consumers and shape the future of the optical storage industry. Included among OSTA’s many accomplishments are its groundbreaking CD-R compatibility efforts, development of the Universal Disc Format (UDF) as well as the MultiRead, MultiPlay, MultiAudio and MultiPhoto/Video (MPV) specifications.
Code: Select all
# diff -up AppRun.old drive_all
--- AppRun.old 2011-12-10 08:06:12.000000000 +0100
+++ drive_all 2013-03-09 21:57:20.176000000 +0100
@@ -302,8 +302,11 @@ case $ONEDRVNAME in #110126
[ -e /proc/ide/$ONEDRVNAME/media ] && [ "`cat /proc/ide/$ONEDRVNAME/media`" = "cdrom" ] && FLAGOPTICAL='yes'
;;
esac
-if [ "$FLAGOPTICAL" = "yes" ];then
- if [ "`busybox mount | grep "$dPATTERN"`" = "" ];then
+if [ "$FLAGOPTICAL" = "yes" ];then #1
+ if [ "`busybox mount | grep "$dPATTERN"`" = "" ];then #2
+ CDFSQ=`guess_fstype /dev/${ONEDRVNAME}`
+ [ "$CDFSQ" = 'unknown' ] && CDFSQ='';
+ if [ ! "$CDFSQ" ]; then #2.1
cddetect -q -d/dev/${ONEDRVNAME}
RETVAL=$?
case $RETVAL in
@@ -312,11 +315,11 @@ if [ "$FLAGOPTICAL" = "yes" ];then
;;
1) #audio
ln -snf /dev/${ONEDRVNAME} /dev/cdrom
- if [ -f /usr/local/bin/defaultcdplayer ];then #100118
+ if [ -f /usr/local/bin/defaultcdplayer ];then #100118 #3
exec defaultcdplayer
- else
+ else #3
exec defaultmediaplayer cdda://
- fi
+ fi #3
;;
5) #video dvd
ln -snf /dev/${ONEDRVNAME} /dev/dvd
@@ -327,29 +330,37 @@ if [ "$FLAGOPTICAL" = "yes" ];then
0) #failed to detect type.
#cddetect does not work properly for dvd's, try something else...
#100719 properly detect dvd video...
- if [ "`df | grep "$dPATTERN"`" = "" ];then #only test if not mounted.
+ if [ "`df | grep "$dPATTERN"`" = "" ];then #only test if not mounted. #4
FLAGDVDVIDEO="`dvd+rw-mediainfo /dev/${ONEDRVNAME} | grep 'Mounted Media: .* DVD-ROM'`"
- if [ "$FLAGDVDVIDEO" = "" ];then
+ if [ "$FLAGDVDVIDEO" = "" ];then #5
#mount and look for 'video_ts' directory (dir should contain file video_ts.ifo)...
mkdir -p /mnt/${ONEDRVNAME}
mount -t iso9660 /dev/${ONEDRVNAME} /mnt/${ONEDRVNAME}
- if [ $? -eq 0 ];then
+ if [ $? -eq 0 ];then #6
[ -d /mnt/${ONEDRVNAME}/video_ts -o -d /mnt/${ONEDRVNAME}/VIDEO_TS ] && FLAGDVDVIDEO="yes"
umount /mnt/${ONEDRVNAME}
- fi
- fi
- if [ "$FLAGDVDVIDEO" != "" ];then
+ fi #6
+ fi #5
+ if [ "$FLAGDVDVIDEO" != "" ];then #4.5
ln -snf /dev/${ONEDRVNAME} /dev/dvd
[ -f /usr/local/bin/defaultdvdplayer ] && exec defaultdvdplayer
[ "`grep 'mplayer' /usr/local/bin/defaultmediaplayer`" != "" ] && exec defaultmediaplayer dvdnav://
exec defaultmediaplayer dvd://
- fi
- fi
+ fi #4.5
+ fi #4
;;
esac
- fi
- FSTYPE="iso9660"
-fi
+ else #2.1
+ FSTYPE="$CDFSQ"
+ fi #2.1
+ fi #2
+ #FSTYPE="iso9660"
+ FSTYPE=`guess_fstype /dev/${ONEDRVNAME}`
+ [ "$FSTYPE" = 'unknown' ] && FSTYPE=`blkid /dev/${ONEDRVNAME} | grep -o ' TYPE=".*"' | awk '{print $1}' |sed 's@.*="\(.*\)"@\1@'`
+ [ "$FSTYPE" ] || FSTYPE=`disktype /dev/${ONEDRVNAME} | grep -i 'file system' | awk '{print $1}' |tail -n1`
+ FSTYPE=`echo "$FSTYPE" | tr '[A-Z]' '[a-z]'`
+ [[ "$FSTYPE" =~ 'fat' ]] && FSTYPE=vfat
+fi #1
#if dropped down here, it is likely to be a data partition...
#if it is a mountable partition then mount and open with rox. If already mntd then open in rox...
#