Re: linux and ipod

From: tom (tom_at_dbservice.com)
Date: 11/02/03


Date: Sun, 02 Nov 2003 21:55:57 +0100

Kasper Dupont wrote:
> tom wrote:
>
>>but i cant do this because i have sbp2 compiled in.
>>is there a way to do it wothout having sbp2 compiled as module?
>
>
> Why not just compile it as a module?

i don't know.. it's just like it is
but i should try copile it as a module...
there should be and entry in /proc/scsi/sbp2, but there isn't
so i don't know anything about sbp2

>
>
>>can i somehow remove the scsi disk from the system, perhaps using sysctl?
>>
>>on the dish the file permissions are weird.
>>some files have user:group root:root, some have 99:99.
>>can i change all files/directories to root:root?
>>or even to root:users? so i could add files to the ipod without having
>>root permossions.
>
>
> Which filesystem is it using? If you don't know
> look in /proc/mounts while it is mounted.
>

i solved it... after having worked on it the whole weekend.
i downloaded the hfsplus (hfs+) driver, compiled it, but there were bugs
in the driver.
i hacked a bit on the code and isolated the bug in the driver.
in the hfs+ filesystem every file can have some metadata (resource
fork), those who know macos should know. the bug was in the code which
was writing the resource (metadata) fork. i just comented it out and
it's working now.

i can now access the ipod with gtkpod, it works just fine, but i don't
know how to remove it from the system. i can umount it, but the devices
(/dev/sdb) are still there. i can remove them with:
$ echo "scsi remove-single-device 1 0 0 0" > /proc/scsi/scsi
but the disk it still spinning and on the display is:
"do not disconnect".
perhaps i should try compile sbp2 as a module and then do "rmmod sbp2".
but i think there should be a way doing it without having sbp2 compiled
as a module.

thanks anyway
tom



Relevant Pages

  • cvs-src summary for May 31 - June 7
    ... You can get old summaries, and an HTML version of this one, at ... driver for Intel Ethernet cards, then the ndis driver, for emulation of ... Maxime Henrion changed the fxp driver to use the device sysctl tree, ... This bug is covered by `FreeBSD-SA-04:12.jailroute`_, ...
    (freebsd-current)
  • cvs-src summary for May 24-31
    ... Tony Ackerman committed the first release of the ixgb driver, ... Brooks Davis added support for a /etc/eui64 file, ... Oliver Eikemeier added a "-depth n" flag to find. ... Dag-Erling Smorgrav fixed a bug in the msync system call that permitted ...
    (freebsd-current)
  • cvs-src summary for January 4-10
    ... It is intended to help the FreeBSD community keep up with the fast-paced ... driver, for PS/2 mice. ... Ceri Davies is now a src committer, ... Important Bug Fixes ...
    (freebsd-current)
  • Re: MSI RS482M4-ILD (Radeon Xpress 200 chipset)
    ... It must be a KDE bug. ... Nvidia doesn't have a large presence). ... cards and network cards? ... much easier to report or even fix bugs myself in an opensource driver. ...
    (comp.os.linux.hardware)
  • Re: Can template problems slow Word 2007 performance?
    ... Word would not allow me to remove the add-ins under its Options ... "Tom F" wrote: ... I removed the printer driver from the computer, ...
    (microsoft.public.word.newusers)