Julien TOUCHE <[EMAIL PROTECTED]> writes:

> * it stops just after partition question
> internal error at /z/dosbin/install.pl line 504
>          main::convert_fdisk_parted(' fdisk /delete /pri:1') called at
> /z/dosbin/install.pl line 1412

Ah, your fdisk command is preceeded by a space.  Our parser does not
allow that.

Well, it does now (i.e., "fixed in next release").  But you can work
around this by deleting that initial space.

> * more, even with the rw flag on z mount and a 1777-tmp dir on server /z,
> i can't copy my log:
> 
> smb_create: tmp/log failed, error=-2
> cp: unable to open '/z/tmp/log': No such file or directory

I wonder what "error=-2" means.  Probably have to ask an smbfs
developer or grovel the source code.

Meanwhile, I think we are going to switch from smbfs to cifs in the
next release.  It may not work better, but it should at least fail
differently.

> * one last thing, i failed to find for now, is the right cmd to add to
> partition menu
>    582     my $ret = menu_choice^M
>      583         ('Do nothing (continue)' => undef,^M
>      584          'Run partitioning tool manually (experts only)' =>
> $interactive_cmd,^M
>      585          'Whole disk C:', =>^M
>      586          'fdisk /pri:100,100',^M
>      587          '4G C:, rest D:' =>^M
>      588          'fdisk /pri:4096;fdisk /pri:100,100 /spec:7',^M
> 
> to have a use first partition and nothing else, and as install as
> pre_cmd/post_cmd try an empty cmd but doesn't work
> 
> 
> ideas ?

Just write your own version of ask_fdisk_cmds which does what you
want, and assign it to $u->{'_meta'}->{'fdisk_cmds'} in
Z:\site\config.pl.  Like this:

$u->{'_meta'}->{'fdisk_cmds'} =
    sub {
        [your code here]
    };

1;

Start by copying the body of ask_fdisk_cmds() into [your code here],
then edit it to your heart's content.

> note: you may also make a mount check to avoid multiple /z mounting
> when launching /etc/master multiple times

...or at least to unmount it first.  Yeah, it would be nice for
/etc/master to be idempotent.  Will do.

 - Pat


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to