Per,
I checked in the system, but I only found:
1) first one:
$ cat /sbin/hotplug-usb
#!/bin/sh
chroot /mnt/cf /sbin/hotplug "$@"
2) second one:
$ cat /proc/sys/kernel/hotplug
/sbin/hotplug
Marco
--- In Per Öberg <> wrote:
>
> If running 2.6 linux you may read:
> /usr/src/linux/Documentation/usb/hotplug.txt
> In 2.4 i don't know.
>
> Regards Per Öberg
>
> marcolamonato wrote:
> > Hi all,
> >
> > I re-checked with other memory stick and they work, I don't know
what
> > was wrong with the one showing 4 partition, anyway now I can go
on
> > with more test.
> >
> > My question now is, how can I do something like a "plug-n-play"
> > feature? I mean, I'd like to have the control on the moment
someone
> > insert a memory stick in order to properly mount it and I'd like
to
> > know when it is removed so to unmount it.
> >
> > The "dmesg" commmand shows me that the system sees when a memory
is
> > inserted or removed, maybe I just need to get those same
information
> > somewhere and somehow, any suggestion?
> >
> > Thanks,
> > Marco
> >
> >
> >
> >
> > --- In mark_s@ wrote:
> >>> I don't know why it sees 4 partitions, anyway I tried with them
> > all
> >>> with no success.
> >> Do you get the same I/O error on sector 0 for all the partitions?
> >>
> >> What does fdisk say about this disk?
> >>
> >> I only use fdisk about once a year. If I remember correctly, the
> > parameter
> >> to fdisk must be the whole-disk device file, not one of the
> > partitions.
> >> (i.e. not lun0, lun1, etc, but the one with the different name
that
> > you
> >> see in that directory.) Once you get fdisk running, you can use
the
> >> command "p" to print the partition table.
> >>
> >> The idea here is to see: is there a partition table? does it
make
> > sense?
> >> ( Now that I think of it, I also wonder: can windows use a whole
> > disk for
> >> a filesystem without a partion table? If it can, you might be
able
> >> to mount the whole disk instead of a partition. )
> >>
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
>
> --
> Per Öberg, Ph.D. Student
> Address: Division of Vehicular Systems
> Department of Electrical Engineering
> Linköpings universitet
> 581 83 Linköping, SWEDEN
> Phone: +46 (0)13-28 23 69
> e-mail:
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|