Ask a Question related to FreeBSD, Design and Development.
-
Anthony Atkielski #1
Why can't I access my floppy disk?
I put a diskette (MS-DOS) into my floppy drive and try
mount -t msdosfs /dev/fd0 /floppy
mount -o ro -t msdosfs /dev/fd0 /floppy
and various other variations, but all I get is "Operation not permitted"
fsck works okay. I'm logged in as root. What am I overlooking?
--
Anthony
Anthony Atkielski Guest
-
Can Flash Player run from a floppy disk?
I don't have administrator privelidges on my office computer so I am unable to download the latest version of flash player. Currently all our... -
Saving Open Office Document to Floppy Disk
I'm a rank newbie in Linux and cannot for the life of me figure out how to save an OO2 document direct to to a floppy - can anyone give me a clue? ... -
floppy drive a: failing to see disk. drive b: ok. help!
I am running windows 2003 enteprise DC with latest fixes installed. Using explorer I see two diskette drives (a: and b:). The BIOS has drive b:... -
floppy disk icon
I am trying to put a short cut of my floppy disk drive (3 1/2 A drive) on my desktop. When I click My Computer or windows explorer and try to drag... -
Can't defragment floppy disk
Hello. I've tried several times (unsuccessfully) to defragment my floppy disk. Here's what I did and continued to do: After inserting the... -
Dan Nelson #2
Re: Why can't I access my floppy disk?
In the last episode (Feb 22), Anthony Atkielski said:
Is it write-protected? Securelevel too high? Check your console or> I put a diskette (MS-DOS) into my floppy drive and try
>
> mount -t msdosfs /dev/fd0 /floppy
> mount -o ro -t msdosfs /dev/fd0 /floppy
>
> and various other variations, but all I get is "Operation not permitted"
>
> fsck works okay. I'm logged in as root. What am I overlooking?
dmesg output; the kernel may be printing more info there.
--
Dan Nelson
[email]dnelson@allantgroup.com[/email]
Dan Nelson Guest
-
Anthony Atkielski #3
Re: Why can't I access my floppy disk?
Dan Nelson writes:
No console messages that I've seen, but securelevel=3. Does> Is it write-protected? Securelevel too high? Check your console or
> dmesg output; the kernel may be printing more info there.
securelevel=3 prevent me from mounting floppies??
--
Anthony
Anthony Atkielski Guest
-
Dan Nelson #4
Re: Why can't I access my floppy disk?
In the last episode (Feb 22), Anthony Atkielski said:
A quick look at the source says it shouldn't stop you, but there are a> Dan Nelson writes:>> > Is it write-protected? Securelevel too high? Check your console
> > or dmesg output; the kernel may be printing more info there.
> No console messages that I've seen, but securelevel=3. Does
> securelevel=3 prevent me from mounting floppies??
lot of calls within vfs_domount that may return EPERM. You may need to
add printfs to figure out which one is failing.
--
Dan Nelson
[email]dnelson@allantgroup.com[/email]
Dan Nelson Guest
-
Lowell Gilbert #5
Re: Why can't I access my floppy disk?
Anthony Atkielski <atkielski.anthony@wanadoo.fr> writes:
Yes. This is, in fact, one of the main ways in which securelevel> Dan Nelson writes:
>>> > Is it write-protected? Securelevel too high? Check your console or
> > dmesg output; the kernel may be printing more info there.
> No console messages that I've seen, but securelevel=3. Does
> securelevel=3 prevent me from mounting floppies??
makes the system more secure.
If you are going to run at a raised securelevel, please read
"man securelevel".
Lowell Gilbert Guest
-
Chad Leigh -- Shire.Net LLC #6
Re: Why can't I access my floppy disk?
On Feb 22, 2005, at 8:27 AM, Lowell Gilbert wrote:
Why would you want to mount an MSDOS floppy on a server? That reduces> Anthony Atkielski <atkielski.anthony@wanadoo.fr> writes:
>>> Dan Nelson writes:
>>>>>>> Is it write-protected? Securelevel too high? Check your console or
>>> dmesg output; the kernel may be printing more info there.
>> No console messages that I've seen, but securelevel=3. Does
>> securelevel=3 prevent me from mounting floppies??
>>
the security and stability of your server
Chad
(before any of you reply, go research Anthony's missives on servers)
Chad Leigh -- Shire.Net LLC Guest
-
Anthony Atkielski #7
Re: Why can't I access my floppy disk?
Lowell Gilbert writes:
OK> Yes. This is, in fact, one of the main ways in which securelevel
> makes the system more secure.
I did. It doesn't say anything about not being able to mount a floppy.> If you are going to run at a raised securelevel, please read
> "man securelevel".
Since I can mount CD-ROMs, I figured I could mount a floppy, but perhaps
not.
I'll have to try it with securelevel set lower when I get a chance. As
it is, I managed to create the floppy I needed on Windows, so the
problem is no longer pressing.
--
Anthony
Anthony Atkielski Guest
-
Anthony Atkielski #8
Re: Why can't I access my floppy disk?
Chad Leigh -- Shire.Net LLC writes:
In order to copy a raw file image to the floppy.> Why would you want to mount an MSDOS floppy on a server?
Not really. See above. The intent is not to leave the floppy permanently> That reduces the security and stability of your server
mounted; I only needed to copy a raw diskette image to the floppy (a
boot floppy for FreeBSD, as it happens). As it happens, I found a way to
do it under Windows, so the problem is solved.
--
Anthony
Anthony Atkielski Guest
-
Loren M. Lang #9
Re: Why can't I access my floppy disk?
On Tue, Feb 22, 2005 at 08:39:24PM +0100, Anthony Atkielski wrote:
Do you mean install a 1440k floppy image onto a disk or just copy a file> Chad Leigh -- Shire.Net LLC writes:
>>> > Why would you want to mount an MSDOS floppy on a server?
> In order to copy a raw file image to the floppy.
smaller than 1440k onto the msdos fs of an already formatted floppy.
The latter should be ok even at securelevel 3, but the former can't
because that would mean open /dev/fd0 for writing other than a mount.
-->>> > That reduces the security and stability of your server
> Not really. See above. The intent is not to leave the floppy permanently
> mounted; I only needed to copy a raw diskette image to the floppy (a
> boot floppy for FreeBSD, as it happens). As it happens, I found a way to
> do it under Windows, so the problem is solved.
>
> --
> Anthony
>
>
> _______________________________________________
> [email]freebsd-questions@freebsd.org[/email] mailing list
> [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: [url]ftp://ftp.tallye.com/pub/lorenl_pubkey.asc[/url]
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
Loren M. Lang Guest
-
Anthony Atkielski #10
Re: Why can't I access my floppy disk?
Loren M. Lang writes:
Specifically, I was trying to generate an installation boot floppy for> Do you mean install a 1440k floppy image onto a disk or just copy a file
> smaller than 1440k onto the msdos fs of an already formatted floppy.
FreeBSD, in order to install it on my other machine (which is too old to
boot from CD).
I got the error just trying to mount the diskette. I tried all> The latter should be ok even at securelevel 3, but the former can't
> because that would mean open /dev/fd0 for writing other than a mount.
different formats of the mount and mount_msdosfs commands and they all
either generated a syntax error or told me that the operation was not
permitted.
--
Anthony
Anthony Atkielski Guest
-
Loren M. Lang #11
Re: Why can't I access my floppy disk?
On Wed, Feb 23, 2005 at 05:11:37PM +0100, Anthony Atkielski wrote:
If you were using one of the pre-fabbed floppy images provided by> Loren M. Lang writes:
>>> > Do you mean install a 1440k floppy image onto a disk or just copy a file
> > smaller than 1440k onto the msdos fs of an already formatted floppy.
> Specifically, I was trying to generate an installation boot floppy for
> FreeBSD, in order to install it on my other machine (which is too old to
> boot from CD).
freebsd like kern.flp then you would want to write it raw to disk, not
mount it, and this is forbidden at securelevel 3.
I don't know why this is, it should still be possible, especially since>>> > The latter should be ok even at securelevel 3, but the former can't
> > because that would mean open /dev/fd0 for writing other than a mount.
> I got the error just trying to mount the diskette. I tried all
> different formats of the mount and mount_msdosfs commands and they all
> either generated a syntax error or told me that the operation was not
> permitted.
you can mount cdroms. /dev/fd0 is read/write by root right? And the
disk already had a formatted filesystem on it before you tried mounting
it?
-->
> --
> Anthony
>
>
> _______________________________________________
> [email]freebsd-questions@freebsd.org[/email] mailing list
> [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: [url]ftp://ftp.tallye.com/pub/lorenl_pubkey.asc[/url]
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
Loren M. Lang Guest
-
Anthony Atkielski #12
Re: Why can't I access my floppy disk?
Loren M. Lang writes:
I was trying to do it with dd. I tried the same on my other system (the> If you were using one of the pre-fabbed floppy images provided by
> freebsd like kern.flp then you would want to write it raw to disk, not
> mount it, and this is forbidden at securelevel 3.
one on which I'm trying to install FreeBSD for experimentation), and it
worked, but that system is at the default level of securelevel=-1.
That's fine, though, since it gives me a machine that can do the job,
which is all I need. I trust a UNIX command a bit more than I trust a
Windows command (especially since the one supplied on the FreeBSD CD is
a bit weird).
Yes to both questions. But it must be securelevel, because it works on> I don't know why this is, it should still be possible, especially since
> you can mount cdroms. /dev/fd0 is read/write by root right? And the
> disk already had a formatted filesystem on it before you tried mounting
> it?
the test machine. The man page doesn't say anything about this
restriction, though, nor is it obvious from what the page does say.
--
Anthony
Anthony Atkielski Guest



Reply With Quote

