How to mount enhanced-CD on 9.1R?

2013-03-07 Thread Zahemszky Gábor
Hi!

I think I've found a regression on 9.1R. I used to mount
some of Oxford University Press's New English File CD-ROM
on 9.0. These CD-s are actually enhanced CDs with some
audio tracks, and a data track at the end. Actually, I cannot mount
them on 9.1. Neither on Amd64 nor on i386. Neither with a SCSI
DVD-drive, nor with ATAPI drives. On 9.0, I need only to
'mount -r -t cd9660 /dev/cd0 /mnt' - on 9.1 it doesn't work. And doesn't
work with the -s option of mount_cdrom - I can get the start of the
data track with either cdcontrol info or with cdda2wav -info-only. They
give me the same nubmber as the sector number of the data track, but
mount_cdrom doesn't work with it.

Actually, I've sent bug report about it, but there weren't any reaction:

http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/176262

Nye,

Gábor

-- 
#!/bin/ksh
#
# See my GPG key at http://www.Zahemszky.HU
#
Z='21N16I25C25E30, 40M30E33E25T15U!';
IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';
set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;
[[ $i = ??? ]]&&j=$i&&i=${i%?};
typeset -i40 i=8#$i;print -n ${i#???};
[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};
IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;
[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


irq256 ????

2008-10-09 Thread Zahemszky Gábor
Hi!

I've just found in my machine's vmstat -i output:

===
$ vmstat -i
interrupt  total   rate
irq1: atkbd0   15524  0
irq6: fdc014  0
irq12: psm0   279947 16
irq15: ata141835  2
irq16: uhci0 drm01407076 81
irq17: atapci0257828 14
irq19: fwohci0++  16  0
irq21: uhci1 ahc0+ 41712  2
irq22: pcm052848  3
irq23: uhci2 ehci1 1  0
cpu0: timer 33503897   1929


irq256: em042054  2

===^

cpu1: timer 33495040   1928
Total   69137792   3981
$ dmesg|fgrep em0
em0:  port 0x30c0-0x30df
mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 
em0: Using MSI interrupt em0: [FILTER]
em0: Ethernet address: 00:19:d1:25:78:0a
$ uname -a
FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct  2 21:35:45 CEST 
2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 $ 


What's that? (world and kernel are in sync)

Thanks,

Gábor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i
= ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j"
= ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set
-- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Writing hald .fdi files

2008-09-30 Thread Zahemszky Gábor
Mon, 29 Sep 2008 22:13:09 +0200 -n
Mel <[EMAIL PROTECTED]> írta:

> On Monday 29 September 2008 21:27:36 Zahemszky Gábor wrote:
> 
> > So my question: how can I make an .fdi file, which tells to these
> > "automounters":
> >
> > if this is device X from vendor Y, mount it with mount option XY!
> 
> Add a noauto mountpoint to /etc/fstab, with all the correct options.
> 
> Though, hal is one of those projects that sparked my sig - too many
> ways to possibly do it, not enough straight ways to really do it.
> So, maybe check this too:
> http://www.freebsd.org/gnome/docs/halfaq.html#q3

Hi!

Thanks for your help, but it doesn't work. I read your mail, and that
faq - btw, yo suggested to put that device info fstab, that faq suggest
the opposite of that.

I tried this line in /etc/fstab (this is line 13.)

/dev/msdosfs/VERBATIM   /home/zgabor/VERBATIM
msdosfs large,noauto0   0

- and tried it with /media/VERBATIM, /media, /mnt neither of them
worked. I got the next error box:

fstab: /etc/fstab:13: Inappropriate file type or format
fstab: /etc/fstab:13: Inappropriate file type or format 
 org.freedesktop.Hal.Device.Volume.UnknownFailure

I tried it with a "none" string as the mountdir, didn't work, too.

Any other?

Thanks,

Gábor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i
= ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j"
= ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set
-- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Writing hald .fdi files

2008-09-29 Thread Zahemszky Gábor
Hi!

I've bought an external disk. I can mount it by hand, with

mount -t msdosfs -o large /dev/xxx /mnt

command. (I have to use the "-o large" option.)

I use XFCE4, with Thunar-volman-plugin. When I plug my new disk in, I
got a message box: Cannot mount, try with "-o large" option. So I'd
like to say to the "automounter" of Thunar, to use the mount_msdosfs
command with that "-o large" option. After some googling, I found HAL
specification on

http://webcvs.freedesktop.org/hal/hal/doc/spec/hal-spec.html?view=co&pathrev=HEAD

and wrote that .fdi file:

== /usr/local/share/hal/fdi/policy/30user/10-add-mount-option-for-Verbatim.fdi 
==



  

  
 true
  

  



My problem is: after plugging my disk in, in lshal output, I can see the new 
key:
volume.policy.mount_option.large ( = true) , but got the same error message 
about
the mounting problem.

I tried it with Linux (+GNOME). Linux can mount my disk, so I tried to
mount with read-only flag. The same problem: I can see my new key, but
it hasn't got any effect (well, it has. without my .fdi file, it can mount with 
rw,
but with my .fdi file, it cannot mount. Neither rw, nor ro.)

So my question: how can I make an .fdi file, which tells to these 
"automounters":

if this is device X from vendor Y, mount it with mount option XY!

Thanks, Gábor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i
= ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j"
= ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set
-- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mount_smbfs locking?

2006-05-10 Thread Zahemszky Gábor
Hi!

Are there any mechanism to "lock" files (as the Win-clients), shared by
a Windows-server, and reached on a smbfs-mounted file system? I haven'
found any mount options in mount_smbfs's manual.

Bye,

Gábor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ???
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ???
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set --
$Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"