Re: udisks and devices [was cannot mount floppy]

2011-07-25 Thread Tomas Kral
On Sun, 2011-07-24 at 23:17 +0200, Stephen Powell wrote:
 On Sun, 24 Jul 2011 14:49:06 -0400 (EDT), Tomas Kral wrote:
  
  Just finding my way around with udisks.
  Read man pages, but I could not find any docs in /usr/share/doc/udisks
  
  tcat@lynx:~$ udisks --inhibit-polling /dev/fd0
  Inhibit polling failed: Media detection cannot be inhibited
  
  Floppy polling cannot be inhibited as it seems.
  
  I looked for a user configuration file, could not find any
  There is only a rule file /lib/udev/rules.d/80-udisks.rules
  
  Where in, floppy is set as,
  ...
  # PC floppy drives
  #
  KERNEL==fd*, ENV{ID_DRIVE_FLOPPY}=1
  ... 
  
  Still not any wiser about udisks
  
 
 I just tried it myself.  This seems to work with a CD-ROM drive,
 but fails with a floppy drive, as you discovered.
 
 Is there some specific task that you are trying to accomplish?
 Are you able to mount and unmount floppy disks using the udisks
 command?
 
 Or are you just trying to learn more about udisks?  If so,
 here are some sources of information:
 
 man 1 udisks
 man 7 udisks
 man polkit
 man udisks-daemon
 man udisks-tcp-bridge
 /usr/share/doc/udisks/*
 Separate Debian package udisks-doc
 http://www.freedesktop.org/wiki/Software/udisks
 
 HTH

Without much knowing what I was actually doing 
I just set it to 0

# PC floppy drives
  #
  KERNEL==fd*, ENV{ID_DRIVE_FLOPPY}=0

Voila, I can do
$ mount /floppy
$ umount /floppy

I can also under Computer desktop folder, double-click
on floppy icon, it gets mounted, right mouse button has got context menu
mount / unmount / and format

Only quick format, size (density), label, etc are missing (these were
the options of gfloppy tool)
All the rest seems back to normal.

Also I'd much prefer gparted to default gnome-disk-utility

On Lenny, right/mouse/clicked properties tab was showing these
pie-charts of disk usage, not sure how to get this to Squeeze.

Of course I can always use du (disk usage) command

Many thanks

-- 
Tomas Kral thomas.k...@email.cz


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1311619427.2618.13.camel@lynx.localhost.localdomain



udisks and devices [was cannot mount floppy]

2011-07-24 Thread Tomas Kral
On Sun, 2011-07-17 at 14:36 +0200, Stephen Powell wrote:
 On Sun, 17 Jul 2011 04:58:27 -0400 (EDT), Tomas Kral wrote:
  On Sat, 2011-07-16 at 15:40 +0200, Stephen Powell wrote:
  ...
  Issue man udisks for more information.
  
  Yes, this one did the trick...
  
  tcat@lynx:~$ udisks --mount /dev/fd0
  Mounted /org/freedesktop/UDisks/devices/fd0 at /media/floppy0
  
  Thanks a lot.
  
  Is it possible to make mount aware of UDisks/devices/fd0 and the like?
 
 Remember, mount was here first,
 and udisks is a recent thing.  Under the covers, udisks is no doubt
 calling mount.  The problem arose because makers of graphical
 desktop environments, such as GNOME, wanted devices to mount
 automatically, just like Windows.  So they came up with this
 udisks daemon to try to emulate Windows behavior.  And the udisks
 daemon causes problems for those who are used to doing manual mounts
 with the Linux mount command.  I'm reasonably sure that the attitude
 of the people who support the mount and umount commands will be,
 Hey, our stuff works as designed, just as it always did.  The
 udisks people broke it, and the udisks people should fix it.
 
 The udisks daemon and the udisks command do provide useful function,
 but not in a totally forward-compatible way.  Sometimes they
 interfere with stuff that used to work.  An example is apt-cdrom
 and aptitude or apt-get when processing mountable media.  You
 may be able to get the desired behavior by using the --inhibit-polling
 option of the udisks command in a separate window to temporarily
 disable polling by the udisks daemon while you run older software
 that is incompatible with the udisks behavior

Just finding my way around with udisks.
Read man pages, but I could not find any docs in /usr/share/doc/udisks

tcat@lynx:~$ udisks --inhibit-polling /dev/fd0
Inhibit polling failed: Media detection cannot be inhibited

Floppy polling cannot be inhibited as it seems.

I looked for a user configuration file, could not find any
There is only a rule file /lib/udev/rules.d/80-udisks.rules

Where in, floppy is set as,
...
# PC floppy drives
#
KERNEL==fd*, ENV{ID_DRIVE_FLOPPY}=1
... 

Still not any wiser about udisks

-- 
Tomas Kral thomas.k...@email.cz


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1311533346.2719.14.camel@lynx.localhost.localdomain



Re: udisks and devices [was cannot mount floppy]

2011-07-24 Thread Stephen Powell
On Sun, 24 Jul 2011 14:49:06 -0400 (EDT), Tomas Kral wrote:
 
 Just finding my way around with udisks.
 Read man pages, but I could not find any docs in /usr/share/doc/udisks
 
 tcat@lynx:~$ udisks --inhibit-polling /dev/fd0
 Inhibit polling failed: Media detection cannot be inhibited
 
 Floppy polling cannot be inhibited as it seems.
 
 I looked for a user configuration file, could not find any
 There is only a rule file /lib/udev/rules.d/80-udisks.rules
 
 Where in, floppy is set as,
 ...
 # PC floppy drives
 #
 KERNEL==fd*, ENV{ID_DRIVE_FLOPPY}=1
 ... 
 
 Still not any wiser about udisks
 

I just tried it myself.  This seems to work with a CD-ROM drive,
but fails with a floppy drive, as you discovered.

Is there some specific task that you are trying to accomplish?
Are you able to mount and unmount floppy disks using the udisks
command?

Or are you just trying to learn more about udisks?  If so,
here are some sources of information:

man 1 udisks
man 7 udisks
man polkit
man udisks-daemon
man udisks-tcp-bridge
/usr/share/doc/udisks/*
Separate Debian package udisks-doc
http://www.freedesktop.org/wiki/Software/udisks

HTH

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/846632324.868375.1311542274833.javamail.r...@md01.wow.synacor.com



Re^2: Cannot mount floppy drive in Squeeze

2011-04-24 Thread peasthope
*   From: Jude DaShiell jdash...@shellworld.net
*   Date: Fri, 15 Apr 2011 17:59:35 -0400 (EDT)
 Why not download mtools and then try mdir a:/ and then try man mtools?  
 Even if floppy disks were inserted after booting I've been able to 
 access them using mtools in the past.

Thanks I'll try it, ... Peter E. 

P.S. Made the bios updater diskette in ETHNO but 
updating the BIOS on the Foxconn board didn't help.
Setting the kernel parameter reboot=bios did.


-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171056984.35152.26537@heaviside.invalid



spelling; was Re: Cannot mount floppy drive in Squeeze

2011-04-24 Thread peasthope
*   From: peasth...@shaw.ca
*   Date: Fri, 15 Apr 2011 11:56:47 -0800
 ... UTF8 ...

Correct spelling is UTF-8, ... Peter E.



-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171056984.35440.26538@heaviside.invalid



Re: Cannot mount floppy drive in Squeeze

2011-04-20 Thread Stephen Powell
On Fri, 15 Apr 2011 11:56:47 -0800, Peter Easthope wrote:
 Bob, Camaleon, Dom, Stephen, Tom  others,
 
 I am replying to the last message I found in the thread.  If there 
 is one later, I didn't ignore it deliberately.
 
 * From: Stephen Powell zlinux...@wowway.com
 * Date: Mon, 6 Dec 2010 22:21:13 -0500 (EST)
 No, the data is intact, as the mounting of the image file with
 the loop option confirms.  Also, further experimentation seems
 to suggest that if the floppy disk is physically mounted in the
 floppy drive during boot, then I can logically mount it with the
 mount command after boot.  This really is looking like a bug.
 I intend to file a bug report, but I'd like to do some more
 trial-and-error experimentation before I do.
 
 This is relevant.
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483781
   
 The best explanation appears to be cited by A.E. Patrakov in the bug report.
   http://www.linuxfromscratch.org/lfs/view/6.3/chapter08/fstab.html
 Scroll to the bottom of the page and read Filesystems with MS-DOS 
 
 My encounter with this has been an attempt to make a bootable 
 diskette for updating the BIOS on a Foxconn board.  Did Foxconn 
 have their filesystem mounted with UTF8 and the US codepage?  
 If they used strictly ASCII filenames, are the encoding and 
 codepage a concern?  
 
 [Use MS or have more trouble than bargained for ... again!]
 
 Regards, ... Peter E.

First of all, I accidentally deleted your e-mail, and my MUA does not
allow me to edit the headers to add an In-reply-to header; so this
reply may not be properly connected to your thread in the archives.
Sorry about that.

Second, thank you for responding.  Third, there was more to that original
thread.  But I can't find it either.  Maybe I accidentally replied
off-list?  Anyway, the resolution to my original thread was udisks.
I run GNOME, and GNOME has a udisks daemon that tries to automatically
mount things like USB thumb drives, CD-ROM disks, and yes, floppy disks,
when they are inserted.  I was able to work around the problem by using
the udisks command to mount and unmount floppy disks instead of the
native mount and umount commands.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1806358399.74644.1303352679315.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2011-04-15 Thread peasthope
Bob, Camaleon, Dom, Stephen, Tom  others,

I am replying to the last message I found in the thread.  If there 
is one later, I didn't ignore it deliberately.

*   From: Stephen Powell zlinux...@wowway.com
*   Date: Mon, 6 Dec 2010 22:21:13 -0500 (EST)
 No, the data is intact, as the mounting of the image file with
 the loop option confirms.  Also, further experimentation seems
 to suggest that if the floppy disk is physically mounted in the
 floppy drive during boot, then I can logically mount it with the
 mount command after boot.  This really is looking like a bug.
 I intend to file a bug report, but I'd like to do some more
 trial-and-error experimentation before I do.

This is relevant.
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483781
  
The best explanation appears to be cited by A.E. Patrakov in the bug report.
  http://www.linuxfromscratch.org/lfs/view/6.3/chapter08/fstab.html
Scroll to the bottom of the page and read Filesystems with MS-DOS 

My encounter with this has been an attempt to make a bootable 
diskette for updating the BIOS on a Foxconn board.  Did Foxconn 
have their filesystem mounted with UTF8 and the US codepage?  
If they used strictly ASCII filenames, are the encoding and 
codepage a concern?  

[Use MS or have more trouble than bargained for ... again!]

Regards, ... Peter E.

-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171056975.48687.42143@cantor.invalid



Re: Cannot mount floppy drive in Squeeze

2011-04-15 Thread Jude DaShiell
Why not download mtools and then try mdir a:/ and then try man mtools?  
Even if floppy disks were inserted after booting I've been able to 
access them using mtools in the past.

On Fri, 15 Apr 2011, peasth...@shaw.ca wrote:

 Bob, Camaleon, Dom, Stephen, Tom  others,
 
 I am replying to the last message I found in the thread.  If there 
 is one later, I didn't ignore it deliberately.
 
 * From: Stephen Powell zlinux...@wowway.com
 * Date: Mon, 6 Dec 2010 22:21:13 -0500 (EST)
  No, the data is intact, as the mounting of the image file with
  the loop option confirms.  Also, further experimentation seems
  to suggest that if the floppy disk is physically mounted in the
  floppy drive during boot, then I can logically mount it with the
  mount command after boot.  This really is looking like a bug.
  I intend to file a bug report, but I'd like to do some more
  trial-and-error experimentation before I do.
 
 This is relevant.
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483781
   
 The best explanation appears to be cited by A.E. Patrakov in the bug report.
   http://www.linuxfromscratch.org/lfs/view/6.3/chapter08/fstab.html
 Scroll to the bottom of the page and read Filesystems with MS-DOS 
 
 My encounter with this has been an attempt to make a bootable 
 diskette for updating the BIOS on a Foxconn board.  Did Foxconn 
 have their filesystem mounted with UTF8 and the US codepage?  
 If they used strictly ASCII filenames, are the encoding and 
 codepage a concern?  
 
 [Use MS or have more trouble than bargained for ... again!]
 
 Regards, ... Peter E.
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.bsf.2.00.1104151757460.31...@freire1.furyyjbeyq.arg



Re: [SOLVED] Cannot mount floppy drive in Squeeze

2010-12-21 Thread Tom H
On Mon, Dec 20, 2010 at 5:13 PM, Stephen Powell zlinux...@wowway.com wrote:
 On Sat, 11 Dec 2010 22:28:52 -0500 (EST), Tom H wrote:
 On Sat, Dec 11, 2010 at 9:30 PM, Stephen Powell wrote:
 ...
 I have been able to circumvent the problem
 by commenting out the following entries in /etc/fstab and rebooting:

 /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
 /dev/fd1        /media/floppy1  auto    rw,user,noauto  0       0

 Now only root can mount and umount floppies. Since GNOME does not
 run with root privileges, it can't mess me up.

 was to keep the above lines in /etc/fstab and mount floppies with
 udisks --mount /dev/fdX.

 That works, Tom.  Thanks!  And of course the corresponding

   udisks --unmount /dev/fdX

 command unmounts the floppy.  It appears that udisks has taken over
 the mounting and unmounting of removable-media devices just like
 network manager has taken over network devices. I don't think
we're in Kansas anymore, Toto.

You're welcome. Definitely not Kansas; probably more like Mars,
especially since udisks was called devkit-disks not long ago so we're
being kept on our toes... (I presume that the u comes from udev but
it's a total WAG.)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinp6r4ustcshyjd-kmnjmj5plr+ijbp5nxpr...@mail.gmail.com



Re: [SOLVED] Cannot mount floppy drive in Squeeze

2010-12-20 Thread Stephen Powell
On Sat, 11 Dec 2010 22:28:52 -0500 (EST), Tom H wrote:
 On Sat, Dec 11, 2010 at 9:30 PM, Stephen Powell wrote:
 ...
 I have been able to circumvent the problem
 by commenting out the following entries in /etc/fstab and rebooting:

 /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
 /dev/fd1        /media/floppy1  auto    rw,user,noauto  0       0

 Now only root can mount and umount floppies.  Since GNOME does not
 run with root privileges, it can't mess me up.
 
 I've been systematically deleting the emails in this thread unread. I
 was about to do the same with this one when I remembered a
 Ubuntu-users thread/rant about floppies where the apparent solution
 was to keep the above lines in /etc/fstab and mount floppies with
 udisks --mount /dev/fdX. Since Ubuntu's based on a mix of testing
 and unstable and uses the Debian udisks package without ubuntufying
 it...

That works, Tom.  Thanks!  And of course the corresponding

   udisks --unmount /dev/fdX

command unmounts the floppy.  It appears that udisks has taken over
the mounting and unmounting of removable-media devices just like
network manager has taken over network devices.  I don't think
we're in Kansas anymore, Toto.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/756185743.1198334.1292883195645.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2010-12-11 Thread Stephen Powell
On Thu, 09 Dec 2010 20:11:40 -0500 (EST), Stephen Powell wrote:
 
 I don't know.  My computer does not have a USB floppy drive, that's true.
 It is a traditional AT-style floppy disk controller with two floppy
 drives.  And I can no longer reproduce the problem.  Having a floppy
 disk in the drive at boot time just once seems to have permanently
 cured the problem.  Did a udev rule get created as a result of a
 ready floppy drive at boot time?  I don't know.  But I don't think
 there's much point in filing a bug report if I can no longer reproduce
 the problem and I don't know what cured it.

I spoke too soon.  The problem has recurred.  After some more trial-
and-error experimentation, the problem now seems to be GNOME-related.
I can mount and umount the floppy disk UNTIL I logon to GNOME.
Then, things go haywire.  I have been able to circumvent the problem
by commenting out the following entries in /etc/fstab and rebooting:

/dev/fd0/media/floppy0  autorw,user,noauto  0   0
/dev/fd1/media/floppy1  autorw,user,noauto  0   0

Now only root can mount and umount floppies.  Since GNOME does not
run with root privileges, it can't mess me up.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2106438276.1006033.1292121041382.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2010-12-11 Thread Tom H
On Sat, Dec 11, 2010 at 9:30 PM, Stephen Powell zlinux...@wowway.com wrote:
 On Thu, 09 Dec 2010 20:11:40 -0500 (EST), Stephen Powell wrote:

 I don't know.  My computer does not have a USB floppy drive, that's true.
 It is a traditional AT-style floppy disk controller with two floppy
 drives.  And I can no longer reproduce the problem.  Having a floppy
 disk in the drive at boot time just once seems to have permanently
 cured the problem.  Did a udev rule get created as a result of a
 ready floppy drive at boot time?  I don't know.  But I don't think
 there's much point in filing a bug report if I can no longer reproduce
 the problem and I don't know what cured it.

 I spoke too soon.  The problem has recurred.  After some more trial-
 and-error experimentation, the problem now seems to be GNOME-related.
 I can mount and umount the floppy disk UNTIL I logon to GNOME.
 Then, things go haywire.  I have been able to circumvent the problem
 by commenting out the following entries in /etc/fstab and rebooting:

 /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
 /dev/fd1        /media/floppy1  auto    rw,user,noauto  0       0

 Now only root can mount and umount floppies.  Since GNOME does not
 run with root privileges, it can't mess me up.

I've been systematically deleting the emails in this thread unread. I
was about to do the same with this one when I remembered a
Ubuntu-users thread/rant about floppies where the apparent solution
was to keep the above lines in /etc/fstab and mount floppies with
udisks --mount /dev/fdX. Since Ubuntu's based on a mix of testing
and unstable and uses the Debian udisks package without ubuntufying
it...


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinp+q33qkxcakv8e2e52dz--zuwdvy++7sa5...@mail.gmail.com



Re: Cannot mount floppy drive in Squeeze

2010-12-09 Thread Dom

On 07/12/10 14:38, Dom wrote:

On 06/12/10 11:46, Dom wrote:

On 06/12/10 11:34, Camaleón wrote:

On Sun, 05 Dec 2010 16:27:48 -0500, Stephen Powell wrote:


On Sun, 05 Dec 2010 16:09:52 -0500 (EST), Camaleón wrote:

On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:

Well, I'm not exactly a newbie. I've been using Linux for more than
10 years. But I must be doing something wrong. I can't seem to get a
floppy disk to mount.
...

Weird :-?

I would try with the simplest command:

mount /dev/fd0 /mnt

If you get no error, run mount to ensure your floppy has been
mounted. Also, check for dmesg output.

No dice. I tried your suggested command, except that I changed /dev/fd0
to /dev/fd1, since I need the 5.25-inch drive, not the 3.5-inch drive,
but other than that it was just as you suggested. No mount, no error
message. The only output from dmesg is the original warning message:

FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!

which also comes out on the terminal, since I am issuing the command
from an active Linux virtual console, not a terminal emulation
window in
X.

Strange, indeed.

I would try to load the floppies in another computer, maybe they become
damaged somehow :-?

Also, to discard any problem with squeeze, you can test it under a
livecd
(by instance, in lenny, I don't get that warning about utf-8 charset
when accessing my floppy disks).

Greetings,


I recently hit the same problem, but assumed it was just my system
playing up.

Using a USB floppy drive, I created a FAT floppy from an image file,
but when I wanted to change some files on it, it wouldn't mount.

Copying the floppy to a file using dd, then mounting with loop option
worked.

There were no read or write errors during any of these processes (except
on one bad floppy I tried).

I found the same problem with an ext2 formatted floppy. mount -v -t ext2
/dev/sdb /media/floppy returns success, but nothing is mounted.

I just tried partitioning the floppy with cfdisk, then creating an ext2
filesystem on /dev/sdb1. This mounted without a problem.

I suspect this is a bug.

Dom


Following up to myself, after further testing.

I only get this behaviour on one of my systems, all the others seem to
handle mounting floppies fine.

With a little bit of investigation, and the aid of strace, I now believe
that the mount command *is* working correctly and mounting the floppy -
then, almost instantly, something is unmounting it again.

At first I thought it might be because my laptop has Gnome installed and
the other machine I tested it on didn't, but I have since tried on
another system with Gnome and that one is fine too.

I shall keep investigating and maybe try cloning my laptop onto another
machine with a non-USB drive.

Dom


Found the culprit. It's udisks-daemon and appears to be this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592719
udisks prevents mounting of floppy disks.

Killing the udisks-daemon enabled mounting of the drive.

However, I suspect this is a different problem to the one the OP is 
getting, as this only affects USB floppy drives, not normal ones.


Dom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d00a2dd.5040...@rpdom.net



Re: Cannot mount floppy drive in Squeeze

2010-12-09 Thread Stephen Powell
On Thu, 09 Dec 2010 04:35:25 -0500 (EST), Dom wrote:
 
 Found the culprit. It's udisks-daemon and appears to be this bug:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592719
 udisks prevents mounting of floppy disks.
 
 Killing the udisks-daemon enabled mounting of the drive.
 
 However, I suspect this is a different problem to the one the OP is 
 getting, as this only affects USB floppy drives, not normal ones.

I don't know.  My computer does not have a USB floppy drive, that's true.
It is a traditional AT-style floppy disk controller with two floppy
drives.  And I can no longer reproduce the problem.  Having a floppy
disk in the drive at boot time just once seems to have permanently
cured the problem.  Did a udev rule get created as a result of a
ready floppy drive at boot time?  I don't know.  But I don't think
there's much point in filing a bug report if I can no longer reproduce
the problem and I don't know what cured it.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/480296277.964255.1291943500467.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2010-12-07 Thread Dom

On 06/12/10 11:46, Dom wrote:

On 06/12/10 11:34, Camaleón wrote:

On Sun, 05 Dec 2010 16:27:48 -0500, Stephen Powell wrote:


On Sun, 05 Dec 2010 16:09:52 -0500 (EST), Camaleón wrote:

On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:

Well, I'm not exactly a newbie. I've been using Linux for more than
10 years. But I must be doing something wrong. I can't seem to get a
floppy disk to mount.
...

Weird :-?

I would try with the simplest command:

mount /dev/fd0 /mnt

If you get no error, run mount to ensure your floppy has been
mounted. Also, check for dmesg output.

No dice. I tried your suggested command, except that I changed /dev/fd0
to /dev/fd1, since I need the 5.25-inch drive, not the 3.5-inch drive,
but other than that it was just as you suggested. No mount, no error
message. The only output from dmesg is the original warning message:

FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!

which also comes out on the terminal, since I am issuing the command
from an active Linux virtual console, not a terminal emulation window in
X.

Strange, indeed.

I would try to load the floppies in another computer, maybe they become
damaged somehow :-?

Also, to discard any problem with squeeze, you can test it under a livecd
(by instance, in lenny, I don't get that warning about utf-8 charset
when accessing my floppy disks).

Greetings,


I recently hit the same problem, but assumed it was just my system
playing up.

Using a USB floppy drive, I created a FAT floppy from an image file,
but when I wanted to change some files on it, it wouldn't mount.

Copying the floppy to a file using dd, then mounting with loop option
worked.

There were no read or write errors during any of these processes (except
on one bad floppy I tried).

I found the same problem with an ext2 formatted floppy. mount -v -t ext2
/dev/sdb /media/floppy returns success, but nothing is mounted.

I just tried partitioning the floppy with cfdisk, then creating an ext2
filesystem on /dev/sdb1. This mounted without a problem.

I suspect this is a bug.

Dom


Following up to myself, after further testing.

I only get this behaviour on one of my systems, all the others seem to 
handle mounting floppies fine.


With a little bit of investigation, and the aid of strace, I now believe 
that the mount command *is* working correctly and mounting the floppy - 
then, almost instantly, something is unmounting it again.


At first I thought it might be because my laptop has Gnome installed and 
the other machine I tested it on didn't, but I have since tried on 
another system with Gnome and that one is fine too.


I shall keep investigating and maybe try cloning my laptop onto another 
machine with a non-USB drive.


Dom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cfe46f0.2010...@rpdom.net



Re: Cannot mount floppy drive in Squeeze

2010-12-06 Thread Klistvud

Dne, 06. 12. 2010 06:39:16 je Doug napisal(a):

OTOH, I've heard stories about short lifetimes of
homebrewed CDs also.  At the moment, I believe even professionals
and governments are having trouble trying to find a long-lasting  
medium

for preserving data over decades and maybe centuries.  The only long-
lasting recordable media holds far too little data--think phonograph
records!  (Chiseling in rock works too.)
A lot of us--I definitely include myself--have been very sloppy about
caring for floppy media.  It doesn't like dust or magnetic fields, for
instance, and I suspect it doesn't like direct sunlight (the heat)
either.  But I am far from sure that this is the whole story.  Old
magnetic tape doesn't store very well either.  I found a cassette
that's probably 30 years old, and all the treble is gone.  I'll bet  
there's

nothing over 500 hertz on the tape.  Maybe not even that high.
Of course, tape is wound on itself, and that can't help.


I guess if we wanted something longer lasting, we should have stayed  
with the punchcards ...


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291632786.2659...@compax



Re: Cannot mount floppy drive in Squeeze

2010-12-06 Thread Camaleón
On Sun, 05 Dec 2010 16:27:48 -0500, Stephen Powell wrote:

 On Sun, 05 Dec 2010 16:09:52 -0500 (EST), Camaleón wrote:
 On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:
 Well, I'm not exactly a newbie.  I've been using Linux for more than
 10 years. But I must be doing something wrong.  I can't seem to get a
 floppy disk to mount.
 ...
 
 Weird :-?
 
 I would try with the simplest command:
 
 mount /dev/fd0 /mnt
 
 If you get no error, run mount to ensure your floppy has been
 mounted. Also, check for dmesg output.
 
 No dice.  I tried your suggested command, except that I changed /dev/fd0
 to /dev/fd1, since I need the 5.25-inch drive, not the 3.5-inch drive,
 but other than that it was just as you suggested.  No mount, no error
 message.  The only output from dmesg is the original warning message:
 
FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!
 
 which also comes out on the terminal, since I am issuing the command
 from an active Linux virtual console, not a terminal emulation window in
 X.

Strange, indeed.

I would try to load the floppies in another computer, maybe they become 
damaged somehow :-?

Also, to discard any problem with squeeze, you can test it under a livecd 
(by instance, in lenny, I don't get that warning about utf-8 charset 
when accessing my floppy disks).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.06.11.34...@gmail.com



Re: Cannot mount floppy drive in Squeeze

2010-12-06 Thread Dom

On 06/12/10 11:34, Camaleón wrote:

On Sun, 05 Dec 2010 16:27:48 -0500, Stephen Powell wrote:

   

On Sun, 05 Dec 2010 16:09:52 -0500 (EST), Camaleón wrote:
 

On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:
   

Well, I'm not exactly a newbie.  I've been using Linux for more than
10 years. But I must be doing something wrong.  I can't seem to get a
floppy disk to mount.
...
 

Weird :-?

I would try with the simplest command:

mount /dev/fd0 /mnt

If you get no error, run mount to ensure your floppy has been
mounted. Also, check for dmesg output.
   

No dice.  I tried your suggested command, except that I changed /dev/fd0
to /dev/fd1, since I need the 5.25-inch drive, not the 3.5-inch drive,
but other than that it was just as you suggested.  No mount, no error
message.  The only output from dmesg is the original warning message:

FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!

which also comes out on the terminal, since I am issuing the command
from an active Linux virtual console, not a terminal emulation window in
X.
 

Strange, indeed.

I would try to load the floppies in another computer, maybe they become
damaged somehow :-?

Also, to discard any problem with squeeze, you can test it under a livecd
(by instance, in lenny, I don't get that warning about utf-8 charset
when accessing my floppy disks).

Greetings,

   
I recently hit the same problem, but assumed it was just my system 
playing up.


Using a USB floppy drive, I created a FAT floppy from an image file,
but when I wanted to change some files on it, it wouldn't mount.

Copying the floppy to a file using dd, then mounting with loop option 
worked.


There were no read or write errors during any of these processes (except 
on one bad floppy I tried).


I found the same problem with an ext2 formatted floppy. mount -v -t ext2 
/dev/sdb /media/floppy returns success, but nothing is mounted.


I just tried partitioning the floppy with cfdisk, then creating an ext2 
filesystem on /dev/sdb1. This mounted without a problem.


I suspect this is a bug.

Dom



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cfcccfa.6070...@rpdom.net



Re: Cannot mount floppy drive in Squeeze

2010-12-06 Thread Stephen Powell
On Sun, 05 Dec 2010 21:26:06 -0500 (EST), Bob Proulx wrote:
 Stephen Powell wrote:
mount -t msdos /dev/fd1 /media/floppy1
 ...
 It tells me that /media/floppy1 is not mounted!  When I try to read the data
 directly with
dd if=/dev/fd1 of=erase.me count=1
 It successfully reads the boot sector into the file erase.me; so the
 drive and the disk itself seem to be OK.
 
 Since you can read the disk try reading the entirety of the floppy
 over to your filesystem.  Then try mounting the resulting file using
 the loopback device.
 
   mount -o loop,ro /path/to/floppy-image /media/floppy1
 
 Perhaps that will give a clue.

Yes, that works.
 
 I suspect that the data on the floppy is corrupted.  But you will need
 more digging to find out the root cause.

No, the data is intact, as the mounting of the image file with
the loop option confirms.  Also, further experimentation seems
to suggest that if the floppy disk is physically mounted in the
floppy drive during boot, then I can logically mount it with the
mount command after boot.  This really is looking like a bug.
I intend to file a bug report, but I'd like to do some more
trial-and-error experimentation before I do.  Thanks to everyone
who offered suggestions.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/133082215.886726.1291692073223.javamail.r...@md01.wow.synacor.com



Cannot mount floppy drive in Squeeze

2010-12-05 Thread Stephen Powell
Well, I'm not exactly a newbie.  I've been using Linux for more than 10 years.
But I must be doing something wrong.  I can't seem to get a floppy disk to
mount.

My i386 system has a standard floppy disk controller with two floppy drives:
a 3.5-inch high density drive (1.44M in DOS format) and a 5.25-inch high
density drive (1.2M in DOS format).  I'm trying to mount a double-sided,
double density 5.25-inch floppy disk (360K in DOS format) in
the 5.25-inch high density drive.  I am running the latest Debian Squeeze.
As root, I issue the command:

   mount -t msdos /dev/fd1 /media/floppy1

I receive a warning message

   FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem 
will be case sensitive!

but I'm used to that.  That's just a warning.  But when I then issue

   mount

with no operands, it does not show the floppy as mounted.  And when I try to
unmount it with

   umount /media/floppy1

It tells me that /media/floppy1 is not mounted!  When I try to read the data
directly with

   dd if=/dev/fd1 of=erase.me count=1

It successfully reads the boot sector into the file erase.me; so the drive and
the disk itself seem to be OK.  I tried other disks and also tried 3.5-inch
disks in the other floppy drive, but I can't seem to get any floppy disk
to mount.  Am I doing something wrong?  Or is there a bug here?  I am running
stock Debian kernel 2.6.32-5-686 version 2.6.32-28.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1334865717.850144.1291579640174.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2010-12-05 Thread Camaleón
On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:

 Well, I'm not exactly a newbie.  I've been using Linux for more than 10
 years. But I must be doing something wrong.  I can't seem to get a
 floppy disk to mount.

(...)

Weird :-?

I would try with the simplest command:

mount /dev/fd0 /mnt

If you get no error, run mount to ensure your floppy has been mounted. 
Also, check for dmesg output.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.05.21.09...@gmail.com



Re: Cannot mount floppy drive in Squeeze

2010-12-05 Thread Stephen Powell
On Sun, 05 Dec 2010 16:09:52 -0500 (EST), Camaleón wrote:
 On Sun, 05 Dec 2010 15:07:20 -0500, Stephen Powell wrote:
 Well, I'm not exactly a newbie.  I've been using Linux for more than 10
 years. But I must be doing something wrong.  I can't seem to get a
 floppy disk to mount.
 ...
 
 Weird :-?
 
 I would try with the simplest command:
 
 mount /dev/fd0 /mnt
 
 If you get no error, run mount to ensure your floppy has been mounted. 
 Also, check for dmesg output.

No dice.  I tried your suggested command, except that I changed /dev/fd0
to /dev/fd1, since I need the 5.25-inch drive, not the 3.5-inch drive,
but other than that it was just as you suggested.  No mount, no error
message.  The only output from dmesg is the original warning message:

   FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem 
will be case sensitive!

which also comes out on the terminal, since I am issuing the command
from an active Linux virtual console, not a terminal emulation window
in X.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/429069591.851724.1291584468611.javamail.r...@md01.wow.synacor.com



Re: Cannot mount floppy drive in Squeeze

2010-12-05 Thread Bob Proulx
Stephen Powell wrote:
mount -t msdos /dev/fd1 /media/floppy1
 ...
 It tells me that /media/floppy1 is not mounted!  When I try to read the data
 directly with
dd if=/dev/fd1 of=erase.me count=1
 It successfully reads the boot sector into the file erase.me; so the
 drive and the disk itself seem to be OK.

Since you can read the disk try reading the entirety of the floppy
over to your filesystem.  Then try mounting the resulting file using
the loopback device.

  mount -o loop,ro /path/to/floppy-image /media/floppy1

Perhaps that will give a clue.

 I tried other disks and also tried 3.5-inch disks in the other
 floppy drive, but I can't seem to get any floppy disk to mount.  Am
 I doing something wrong?  Or is there a bug here?

As an alternative try the 'mtools' on it.  It accesses the data
without mounting.

  Description: Tools for manipulating MSDOS files
   Mtools is a collection of utilities to access MS-DOS disks from Unix
   without mounting them. It supports Win'95 style long file names, OS/2
   Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992kB on a high
   density 3 1/2 disk).

The you could try something like mdir a: and similarly.  I am not
suggesting this is better (or worse) but just different and may
produce different output which may provide clues.

I suspect that the data on the floppy is corrupted.  But you will need
more digging to find out the root cause.

You might try taking a different floppy and try formatting it.

  mkfs -t msdos /dev/fd1

Bob


signature.asc
Description: Digital signature


Re: Cannot mount floppy drive in Squeeze

2010-12-05 Thread Doug

On 12/05/2010 09:26 PM, Bob Proulx wrote:

Stephen Powell wrote:

mount -t msdos /dev/fd1 /media/floppy1
...
It tells me that /media/floppy1 is not mounted!  When I try to read the data
directly with
dd if=/dev/fd1 of=erase.me count=1
It successfully reads the boot sector into the file erase.me; so the
drive and the disk itself seem to be OK.

Since you can read the disk try reading the entirety of the floppy
over to your filesystem.  Then try mounting the resulting file using
the loopback device.

   mount -o loop,ro /path/to/floppy-image /media/floppy1

Perhaps that will give a clue.


I tried other disks and also tried 3.5-inch disks in the other
floppy drive, but I can't seem to get any floppy disk to mount.  Am
I doing something wrong?  Or is there a bug here?

As an alternative try the 'mtools' on it.  It accesses the data
without mounting.

   Description: Tools for manipulating MSDOS files
Mtools is a collection of utilities to access MS-DOS disks from Unix
without mounting them. It supports Win'95 style long file names, OS/2
Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992kB on a high
density 3 1/2 disk).

The you could try something like mdir a: and similarly.  I am not
suggesting this is better (or worse) but just different and may
produce different output which may provide clues.

I suspect that the data on the floppy is corrupted.  But you will need
more digging to find out the root cause.

You might try taking a different floppy and try formatting it.

   mkfs -t msdos /dev/fd1

Bob

The suspicion about corruption is likely to be correct if the floppy has
been hanging around for a while. A lot of old floppies, programmed or
not, seem to have a lot of defects.  This is too bad if you're trying to
install or read a program that you copied down 10 years ago!  (Yes, I'm
the same guy that said just a couple of hours ago that we should _not_
get rid of floppies.)  OTOH, I've heard stories about short lifetimes of
homebrewed CDs also.  At the moment, I believe even professionals
and governments are having trouble trying to find a long-lasting medium
for preserving data over decades and maybe centuries.  The only long-
lasting recordable media holds far too little data--think phonograph
records!  (Chiseling in rock works too.)
A lot of us--I definitely include myself--have been very sloppy about
caring for floppy media.  It doesn't like dust or magnetic fields, for
instance, and I suspect it doesn't like direct sunlight (the heat)
either.  But I am far from sure that this is the whole story.  Old
magnetic tape doesn't store very well either.  I found a cassette
that's probably 30 years old, and all the treble is gone.  I'll bet there's
nothing over 500 hertz on the tape.  Maybe not even that high.
Of course, tape is wound on itself, and that can't help.

Just some observations.  YMMV, as they say.

--doug

--
Blessed are the peacemakers...for they shall be shot at from both sides. --A. 
M. Greeley


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cfc7704.4010...@optonline.net



Re: Can't mount floppy as USER

2003-12-16 Thread Stephen Liu
Hi Paul,

On Mon, 2003-12-15 at 04:46, Paul Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Mon, Dec 15, 2003 at 12:53:31AM +0800, Stephen Liu wrote:
  (remark:  I also tried
  /dev/fd0 /floppyautoowner,user,noauto   0   0)
 
 You want...
 
 /dev/fd0   /floppy  autouser,noauto,rw  0 0

Your advice works for me.

Thanks

B.R.
Stephen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't mount floppy as USER

2003-12-14 Thread Stephen Liu
Hi folks,

I can't mount floppy as USER only as ROOT

/etc/fstab
 /etc/fstab: static file system information.
#
# file system mount point   type  options   dump 
 pass
/dev/hdc2   /   ext2errors=remount-ro   0  
 1
/dev/hdc3   noneswapsw  0  
 0
proc/proc   procdefaults0  
 0
/dev/fd0/floppy autoowner,user=satimis,noauto   0  
 0
/dev/cdrom  /cdwriter   udf,iso9660 owner,user,noauto   0  
 0
/dev/cdrom1 /cdromudf,iso9660   owner,user,noauto  0   
0

(remark:  I also tried
/dev/fd0/floppy autoowner,user,noauto   0   0)


/etc/mtab
/dev/hdc2 / ext2 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/fd0 /mnt/floppy vfat rw,user=satimis 0 0

Any advice.  Thanks in advance.

B.R.
Stephen Liu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't mount floppy as USER

2003-12-14 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Dec 15, 2003 at 12:53:31AM +0800, Stephen Liu wrote:
 (remark:  I also tried
 /dev/fd0 /floppy  autoowner,user,noauto   0   0)

You want...

/dev/fd0   /floppy  autouser,noauto,rw  0 0

- -- 
 .''`. Paul Johnson [EMAIL PROTECTED]
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/3MwxUzgNqloQMwcRAigGAJoC2PEcVmxbQ5hiYBsIqJlmckWg2ACfacDn
jz6ddLe8KM2EdovodEd9tQk=
=PeJp
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mount /floppy

2003-03-24 Thread Jean-Roch SOTTY

argh j'en avais oublié un bout, je reprends !
###
Concernant la D7 dans la config du noyau :
1/ Dans le menu File System si c'est un problème de système de fichier.
En gros tous ceux que tu connais tu les mets (surtout laisses bien celui de ta
partition / à yes !)
C'est peut-être une D7 en ntfs d'ailleurs ?
2/ Dans Block Devices  Normal floppy disk support = y/m
3/ Dans ATA/IDE/MFM/RLL support  IDE/ATA and ATAPI Block devices  Enhanced
IDE/MFM/RLL disk/cdrom/tape/floppy support = y/m
Et sauf erreur il n'y a rien d'autre ...

Eh ben si, il manque (au moins) :
3 bis/ Dans ATA/IDE/MFM/RLL support  IDE/ATA and ATAPI Block devices  Include
IDE/ATAPI Floppy support =y/m
Mes excuses Philippe :-/
Et donc bien mettre les fat(msdos), vfat, ntfs, ext2 et ext3 dans file system
(merci olivier ;-))

Jean-Roch



mount /floppy

2003-03-23 Thread Philippe BERNARD
Bonsoir,

Avec le noyau par défaut de la woody (2.4.18-bf2.4),je pouvais monter
des disquettes sans problème.
L'installation de mon modem interne ayant nécessité une recompilation du
noyau, j'ai depuis le problème suivant: à la commande mount /floppy
répond  I could not determine the filesystem type, and none was
specified.
A quel endroit de la configuration du noyau ai-je merdé ?

Merci pour les réponses !





Re: mount /floppy

2003-03-23 Thread Jean-Roch SOTTY
Avec le noyau par défaut de la woody (2.4.18-bf2.4),je pouvais monter des 
disquettes sans problème. L'installation de mon modem interne ayant nécessité
 une recompilation du noyau, j'ai depuis le problème suivant: à la commande 
mount /floppy répond  I could not determine the filesystem type, and none 
was specified. A quel endroit de la configuration du noyau ai-je merdé ?

t'a essayé en root ?
mount /dev/fd0 /floppy -t ext2 (ou vfat, etc. si tu connais le système de 
fichier de ta D7)


Sinon concernant la D7 dans la config du noyau :
1/ Dans le menu File System si c'est un problème de système de fichier.
En gros tous ceux que tu connais tu les mets (surtout laisses bien celui de ta
partition / à yes !)
C'est peut-être une D7 en ntfs d'ailleurs ?
2/ Dans Block Devices  Normal floppy disk support = y/m
3/ Dans ATA/IDE/MFM/RLL support  IDE/ATA and ATAPI Block devices  Enhanced
IDE/MFM/RLL disk/cdrom/tape/floppy support = y/m
Et sauf erreur il n'y a rien d'autre. Mais s'il y a le .config du 
2.4.18-bf2.4
(/usr/src/kernel-source-2.4.18-bf2.4/.config) tu peux regarder et comparer pour
voir ce qui peux paraître étrange.

Vérifie aussi ta fstab (mais y'a pas de raison que ça vienne de là) :
/dev/fd0 /floppy auto sync,user,noauto  0   0

Jean-Roch



Re: Problem with mount floppy

2002-11-23 Thread Jerome Acks Jr
On Fri, Nov 22, 2002 at 06:30:35PM +0200, Egor Tur wrote:
 Hi folk!
Now I see this message:
/dev/fd0: Input/output error
mount: block device /dev/fd0 is write-protected, mounting read-only
when I do `mount /floppy' and I can only read data on floppy but cannot
write. What 's happened? How can I solve this problem?
   
   Have you checked the write-protect tab on the floppy?
  Of course, I   see this message when I try mount not write-protected floppy :(
   
  Have you looked at /etc/fstab?  Is /dev/fd0 rw or ro?
 Yes. I heve rw option.
 I think that message happen wnen user take his floppy but not umount it.
 I don't know how solve this - now help only reboot computer, but this is not good 
idea :(

sudo umount /floppy

-- 
Jerome


msg14908/pgp0.pgp
Description: PGP signature


Re: Re[2]: Problem with mount floppy

2002-11-22 Thread Gary Turner
On Fri, 22 Nov 2002 07:15:56 +0200, Egor Tur wrote:

  Hi folk!
  Now I see this message:
  /dev/fd0: Input/output error
  mount: block device /dev/fd0 is write-protected, mounting read-only
  when I do `mount /floppy' and I can only read data on floppy but cannot
  write. What 's happened? How can I solve this problem?
 
 Have you checked the write-protect tab on the floppy?
Of course, I   see this message when I try mount not write-protected floppy :(
 
Have you looked at /etc/fstab?  Is /dev/fd0 rw or ro?
--
gt   [EMAIL PROTECTED]
It ain't so much what you don't know that gets you in trouble---
it's what you do know that ain't so.--unk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re[4]: Problem with mount floppy

2002-11-22 Thread Egor Tur
Hi folk!
   Now I see this message:
   /dev/fd0: Input/output error
   mount: block device /dev/fd0 is write-protected, mounting read-only
   when I do `mount /floppy' and I can only read data on floppy but cannot
   write. What 's happened? How can I solve this problem?
  
  Have you checked the write-protect tab on the floppy?
 Of course, I   see this message when I try mount not write-protected floppy :(
  
 Have you looked at /etc/fstab?  Is /dev/fd0 rw or ro?
Yes. I heve rw option.
I think that message happen wnen user take his floppy but not umount it.
I don't know how solve this - now help only reboot computer, but this is not good idea 
:(
Thanks.  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Problem with mount floppy

2002-11-21 Thread Egor Tur
Hi folk!
Now I see this message:
/dev/fd0: Input/output error
mount: block device /dev/fd0 is write-protected, mounting read-only
when I do `mount /floppy' and I can only read data on floppy but cannot
write. What 's happened? How can I solve this problem?
Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Problem with mount floppy

2002-11-21 Thread Richard Hector
On Fri, 2002-11-22 at 13:05, Egor Tur wrote:
 Hi folk!
 Now I see this message:
 /dev/fd0: Input/output error
 mount: block device /dev/fd0 is write-protected, mounting read-only
 when I do `mount /floppy' and I can only read data on floppy but cannot
 write. What 's happened? How can I solve this problem?

Have you checked the write-protect tab on the floppy?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re[2]: Problem with mount floppy

2002-11-21 Thread Egor Tur
  Hi folk!
  Now I see this message:
  /dev/fd0: Input/output error
  mount: block device /dev/fd0 is write-protected, mounting read-only
  when I do `mount /floppy' and I can only read data on floppy but cannot
  write. What 's happened? How can I solve this problem?
 
 Have you checked the write-protect tab on the floppy?
Of course, I   see this message when I try mount not write-protected floppy :(
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Mount floppy?

1999-05-06 Thread Fu-Dong Chiou
Hi all,

I have a newbie question.  I was wondering if I can copy defrag onto my 
boot disk, boot from there, unmount the HD, and do defrag.  If this is 
the case, how can I mount the floppy?  Is it 

mount -t ext2 /dev/fd0 /mnt/floppy

or

mount -t msdos /dev/fd0 /mnt/floppy

or anything else?

Thanks in advance!

Best wishes,
Chip 



Re: Mount floppy?

1999-05-06 Thread Jens B. Jorgensen
Fu-Dong Chiou wrote:

 Hi all,

 I have a newbie question.  I was wondering if I can copy defrag onto my
 boot disk, boot from there, unmount the HD, and do defrag.  If this is
 the case, how can I mount the floppy?  Is it

 mount -t ext2 /dev/fd0 /mnt/floppy

 or

 mount -t msdos /dev/fd0 /mnt/floppy

I believe this is correct. However if you omit the '-t XXX' mount will probably 
be
able to figure out what type of filesystem it is (I think).

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: can't mount floppy

1998-09-08 Thread Ed Cogburn
[EMAIL PROTECTED] wrote:
 
 You need msdos fs support in the kernel, as the error message says.  Add this
 support as a module so you won't have to reboot to enable it.


As above, however it may hard to figure out how to enable MSDOS
support.  Unfortunately things are now setup that you have to enable
'Native Language Support' before the msdos and vfat options are even
displayed.


 Chandran
 
 Hank Fay wrote on Sat, Sep 05, 1998 at 03:37:27PM -0400..
  I rebuilt my kernel (Hamm) for firewalling, and included the floppy support
  option.  However, since then I can't mount the floppy drive.  I see it
  recognized (fd0) at boot up
 
  I'm told that fs type msdos is not supported by the kernel.  When I try vfat
  the same.  When I try ext2, I'm told it is not a valid block device.
 
  Hank
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Ed C.


can't mount floppy

1998-09-05 Thread Hank Fay
I rebuilt my kernel (Hamm) for firewalling, and included the floppy support
option.  However, since then I can't mount the floppy drive.  I see it
recognized (fd0) at boot up, but when I

mount -t msdos /dev/fd0 /floppy

I'm told that fs type msdos is not supported by the kernel.  When I try vfat
the same.  When I try ext2, I'm told it is not a valid block device.

Any ideas appreciated.  This did work before the kernel rebuild, from
install.


Thanks,

Hank



Re: can't mount floppy

1998-09-05 Thread chandran
You need msdos fs support in the kernel, as the error message says.  Add this
support as a module so you won't have to reboot to enable it.

Chandran

Hank Fay wrote on Sat, Sep 05, 1998 at 03:37:27PM -0400..
 I rebuilt my kernel (Hamm) for firewalling, and included the floppy support
 option.  However, since then I can't mount the floppy drive.  I see it
 recognized (fd0) at boot up
 
 I'm told that fs type msdos is not supported by the kernel.  When I try vfat
 the same.  When I try ext2, I'm told it is not a valid block device.
 
 Hank


Re: mount /floppy

1997-11-30 Thread Carey Evans
Fabrizio Polacco [EMAIL PROTECTED] writes:

 /dev/fd0/amsdos   user,noauto 0   0
 /dev/fd0/fd   ext2user,noauto 0   0

You can try:

  /dev/fd0/floppyauto   user,noauto 0   0

to automatically detect the disk format.

-- 
Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc

 Trust Ivanova.  Trust yourself.  Anybody else - shoot 'em.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mount /floppy

1997-11-26 Thread Torsten Hilbrich
[EMAIL PROTECTED] (Timothy Phan) writes:

 Hi,
 
   What do I suppose to put in the /etc/fstab so that any
   user can mount the floppy disk with just 'mount /floppy'
   and all user can access it.

I use this entry, where gid=25 points to the user group floppy and umask=002
allows every user being member of this group to write to the floppy
disk.  This is ONE line.

/dev/fd0/floppy vfatnoauto,user,gid=25,umask=002
0   0

Torsten

-- 
I haven't lost my mind -- it's backed up on tape somewhere.
Fortune Cookie
PGP Public key available


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


mount /floppy

1997-11-25 Thread Timothy Phan
Hi,

  What do I suppose to put in the /etc/fstab so that any
  user can mount the floppy disk with just 'mount /floppy'
  and all user can access it.

  Thanks!
-- 
   Timothy C. Phan ([EMAIL PROTECTED])
    NEC America, Inc. ASL
    1525 Walnut Hill Ln. Irving, TX 75038
  tel: (214)-518-3437 fax: (214)-518-3499


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mount /floppy

1997-11-25 Thread Jens B. Jorgensen
Timothy Phan wrote:
 
 Hi,
 
   What do I suppose to put in the /etc/fstab so that any
   user can mount the floppy disk with just 'mount /floppy'
   and all user can access it.

Put user in the options section. 

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mount /floppy

1997-11-25 Thread Fabrizio Polacco
Timothy Phan wrote:
 
   What do I suppose to put in the /etc/fstab so that any
   user can mount the floppy disk with just 'mount /floppy'
   and all user can access it.
 

I have in my /etc/fstab :

/dev/fd0/amsdos   user,noauto 0   0
/dev/fd0/fd   ext2user,noauto 0   0

You have also do mkdir /a /fd   or any other name you like (like /a:  ).

Then a user mount /a if the diskette is in dos format, or /fd if its in
linux format.
I know there is also an automatic way to detect the disk format, check
the docs (I rarely use the floppy :-).

Fabrizio
-- 
| [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
| Pluto Leader - Debian Developer  Happy Debian 1.3.1 User - vi-holic
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .