Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Jun 2018, 15:40
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
working! DVD+RW like IDE HD
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Sat 14 Oct 2006, 03:06    Post subject:  working! DVD+RW like IDE HD  

The holy grail of DVD burner puppies, little known (or used) kernel packet driver in Puppy2.11Beta, just requires UDFtools (with patch) to make a DVD+RW media work like regular HD, still playing around, the drive light flashes are very regular. Will have a package soon, trying to make it bootable
here is the three lines needed to work.....

Quote:
pktsetup pktcdvd0 /dev/hdc
mkudffs --media-type=dvd --udfrev=0x0150 /dev/pktcdvd/pktcdvd0
mount -t udf -o rw,noatime /dev/pktcdvd/pktcdvd0 /mnt/hdc


Ted Dog drooling with happiness Razz Razz
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12889
Location: Arizona USA

PostPosted: Sat 14 Oct 2006, 09:31    Post subject:  

Intriguing. Does this mean we can dispense with isofs and multisession Puppy? Possibly boot the live (customized) CD then switch to the DVD+RW for saving? How would saved settings be loaded from the DVD+RW? Hmm, food for thought.
_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Sat 14 Oct 2006, 10:26    Post subject: happy  

That's happiness indeed. Very Happy

From what I understand of UDF, it makes read-write to optical media much like read-write to hard disk. But only Ted Dog knew that the software tools are there already to make this happen in DVD.

Will the DVD+RW function as swap, too?

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12889
Location: Arizona USA

PostPosted: Sat 14 Oct 2006, 10:45    Post subject:  

Yes, Ted, good catch. Smile

Using DVD+RW for swap would have to be a last resort. Access to what's on the disk is relatively slow, and, if I remember right, DVD+RW is specified for around 1000 rewrites before it "wears out." Still, it might be worth doing if there is enough RAM that swap memory is seldom used.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15238
Location: Paradox Realm

PostPosted: Sat 14 Oct 2006, 12:41    Post subject:  

Maybe a counter can be added and after 900 saves - burn to new DVD . . .

Good job Ted Dog

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Bm


Joined: 16 Apr 2006
Posts: 513
Location: Brussels

PostPosted: Sat 14 Oct 2006, 13:16    Post subject:  

I am on Puppy 2.10
Yesterday I compiled udftools as well.

But udf is already in 2.10. I don't use packetwriting.

Following are the commands I use:
Code:
modprobe udf
mount -t udf /dev/hdd /mnt/hdd

and I can read and write to the hdd udf device (in my case a DVD-RW).
Indeed the device is somewhat slow.
But it gives me opportunities now for extra space, as my system is pretty full on HDD space.
I still have to find out how to prepare a blank DVD for read/write

_________________
Puppy Linux 2.02 SMkey, KDE354mini, wine0.9.20, devx-qt-renamed.
Puppy Linux 2.10r1 SMkey, JWM, devx_qt_renamed_210, KDE355mini
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Sat 14 Oct 2006, 13:20    Post subject: cutting edge = buggy  

OK left a few things out.
You need to do this once
Code:
modprobe -a pktcdvd
before said three line commands, And it is already in the 211beta modules.
Tried to copy uncompressed & and compiled 2.6.18 directory to DVD+RW it was fast [too fast] something choked about 230M into the copy. But after a sloppy forced reboot stuff was still on the DVD+RW

Answers, Booting is an issue, have made a DVD using -udf and isolinux that does boot, using it now, but yet to try mount [since my only copy of complex commands was here and not viewable for most of the night]

the first and third lines of sample code are for normal use mkUDFfs creates a UDF filesystem on the DVD+RW.

No luck with my DVD-RAM media.

There is a kernel patch in 2.6.18-mm which fixes the 'too fast' and other labeling problems which may be the problem with mkUDFfs on DVD-RAM media.

This would replace, save to DVD scripts since it is a UDF and not a iso9660 disk.

This quest was restarted after trying to use the puppy-pro-XP supersized isos and was not able to save documents back, since the DVD was locked into use the full time.

Not a good Idea for swap for reasons listed by others.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Sat 14 Oct 2006, 13:26    Post subject:  

Just missed Beems message, even better!
Back to top
View user's profile Send private message 
Bm


Joined: 16 Apr 2006
Posts: 513
Location: Brussels

PostPosted: Sat 14 Oct 2006, 13:57    Post subject:  

Ted Dog wrote:
Just missed Beems message, even better!

Well in my queeste to understand udf support, I saw that pktcdvd thing as well, but I didn't quite understand how to activate it, so I dropped it.

It would be nice to have a comparaison between the two methods and eventual consequences/advantages/disadvantages.

_________________
Puppy Linux 2.02 SMkey, KDE354mini, wine0.9.20, devx-qt-renamed.
Puppy Linux 2.10r1 SMkey, JWM, devx_qt_renamed_210, KDE355mini
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 14 Oct 2006, 15:07    Post subject:  

if you put something like this in /etc/stab:

/dev/hdc /mnt/hdc udf,iso9660 ro

Rox should be able to mount the disc automatically when the mount point is clicked ... but it doesn't seem to work

(it just occurred to me why it doesn't work ... Busybox strikes again ... it works with mount-FULL)

i can put this in fstab, and it works:

/dev/hdc /mnt/hdc iso9660 ro
/dev/hdc /mnt/udf udf ro

this way, i can click /mnt/hdc and it mounts the disc as a iso9660 file system, or i can click /mnt/udf and it will mount it as a udf fs ... closing the Rox window or moving out of the mnt point unmounts the disc automatically

of course, there's nothing to stop you from burning, for example, an ext2 file system to a disc

an interesting product is Accuburn ... see:
http://www.murga.org/~puppy/viewtopic.php?p=19382#19382
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12889
Location: Arizona USA

PostPosted: Sat 14 Oct 2006, 16:40    Post subject:  

GuestToo wrote:
<>
of course, there's nothing to stop you from burning, for example, an ext2 file system to a disc

I read that somewhere else, and wondered when I saw it if ext2 (or some other filesystem) could be used instead of isofs for multisession Puppy. I think I also read that UDF is not limited use to rewritable disks, but can be used on +/-R, similar I suppose to the way multisession Puppy is done now.

I like using multisession Puppy on non-erasable DVD+/-R, for archiving and forensic uses. I don't know how the various filesystems -- UDF, ext2/3, isofs -- would keep track of the contents of the disk as they are added, but I suppose it ought to be possible.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Sat 14 Oct 2006, 22:18    Post subject:  

UDF does support limiting writebacks, and using DVD-R (will be testing: currently low on DVD-R media)

include is a updated udftools, this time stripped [way smaller]
udftools-stripped.tar.gz
Description 
gz

 Download 
Filename  udftools-stripped.tar.gz 
Filesize  66.72 KB 
Downloaded  667 Time(s) 
Back to top
View user's profile Send private message 
Bm


Joined: 16 Apr 2006
Posts: 513
Location: Brussels

PostPosted: Sun 15 Oct 2006, 03:58    Post subject:  

Hi Ted Dog
Out of curiosity I wanted to try your approach in Puppy 2.10, but it failed.
Code:
sh-3.00# modprobe -a pktcdvd
sh-3.00# pktsetup pktcdvd0 /dev/hdd
ioctl: Inappropriate ioctl for device
sh-3.00#
Maybe this is only valid for 2.11
_________________
Puppy Linux 2.02 SMkey, KDE354mini, wine0.9.20, devx-qt-renamed.
Puppy Linux 2.10r1 SMkey, JWM, devx_qt_renamed_210, KDE355mini
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12889
Location: Arizona USA

PostPosted: Fri 03 Nov 2006, 12:39    Post subject:  

Ted, Beem, got anything new to add? I'm all agog. Very Happy

I'm especially excited that Ted got Puppy to boot from a UDF disk. I wondered if that was possible. Is it done by simply putting the files from the Puppy iso on the UDF disk?

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
Turpin


Joined: 16 May 2007
Posts: 120

PostPosted: Thu 24 May 2007, 17:05    Post subject:  

It's cool that at least we have these capabilities on older versions of Puppy. Would be awesome to have UDF in newer versions. I use udf packet-writing all the time with windows. It's MUCH more stable on DVD+RWs than on CDRWs. I don't understand why so many people have no interest in it.
Last edited by Turpin on Tue 12 Aug 2008, 21:27; edited 2 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2137s ][ Queries: 14 (0.0408s) ][ GZIP on ]