Re: problems with pktsetup

Bernd Adda <[email protected]> Sun, 27 Feb 2005 21:43:22 +0100
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
Frank Steiner schrieb:
> Bernd Adda wrote
> 
[ . . . .]
> all you need to do is
> 
> pktsetup mycd /dev/hdd
> 
yes, I did it like the following:

# pktsetup /pktcdrw* /dev/hdd        =*) my udf-cd-Mountpoint
open packet device: Is a directory

But what can you tell me to the following?
Can that do it too or isn't it used here:

# pktsetup /pktcdrw /dev/pktcdvd0**    =**) mknood b 97 0
open packet device: Is a directory

# pktsetup /pktcdrw /dev/pktcdvd***     =***) mknood c ? ?
open packet device: Is a directory

# pktsetup /media/cdrecorder+) /dev/pktcdvd  =+) burner
open packet device: Is a directory


> All you need for this to work is a directory /dev/pktcdvd If this
>  directory exists and has some stuff in it, you can complete 
> remove the directory and recreate it with a simple "mkdir 
> /dev/pktcdvd" Then use "pktsetup mycd /dev/hdd" and later on you 
> can use "pktsetup -d mycd".
> 
> Mounting then works with "mount /dev/pktcdvd/mycd /wherever"
> 
> That's it.
> 
> cu, Frank
> 
> 

I did so and other too, please see here

# mount /dev/pktcdvd/pktcdrw /cdrom -t udf -o rw,noatime
mount: Spezialgerät /dev/pktcdvd/pktcdrw existiert nicht
        (ein Pfadpräfix ist kein Verzeichnis)

# mount /dev/pktcdvd/media/cdrecorder /mnt
mount: Spezialgerät /dev/pktcdvd/media/cdrecorder existiert nicht
        (ein Pfadpräfix ist kein Verzeichnis)


# mount -t udf /dev/pktcdvd /pktcdrw
mount: /dev/pktcdvd ist kein blockorientiertes Gerät


now I did the following too:

# mount -t udf /dev/pktcdvd0 /pktcdrw
mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt,
wird eingehängt im Nur-Lese-Modus

# mount /dev/pktcdvd0 /pktcdrw -t udf -o rw,noauto,noatime
mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt,
wird eingehängt im Nur-Lese-Modus

#mount /dev/hdd /media/cdrecorder -t udf -o rw,noauto,noatime
mount: blockorientiertes Gerät /dev/hdd ist schreibgeschützt, wird
eingehängt im Nur-Lese-Modus

# mount
/dev/hdd on /pktcdrw type udf (ro)
/dev/hdd on /media/cdrecorder type udf (ro)


How can I make "mount   = ro"   to    "mount   = rw".
I couldn't find a answer to this question?

Can you help me?
(I would like, you write german to me -> PM ?)