Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[shell] mount smb comme netinfo mais en cli

8 réponses
Avatar
Nicolas.Michel
Bonjour

J'ai un loginscript qui regarde qui se logue et qui lui monte ses
dossiers partagés à lui en smb/kerberos.

Le problème est que après une mise en veille, le dossier n'est plus
accessible.

Comment faire pour utiliser les fonctions automount et autre, que
netinfo utilise quand on crée un netinfo/mount/... ?

A moins qu'il n'y ait dans workgroup manager la possibilité d''associer
un share à un groupe ?

Merci d'avance :-)
--
Nicolas Michel

8 réponses

Avatar
Nicolas.Michel
Nicolas.Michel wrote:


Comment faire pour utiliser les fonctions automount et autre, que
netinfo utilise quand on crée un netinfo/mount/... ?


J'en rajoute une couche :
C'est quoi amd ?

(oui, je sais lire le man mais c'est un truc obscure, si certains
d'entre vous ont déjà touché ça je serais très intéressé. Notament
est-ce que c'est un truc utilisé par OSX ?)

Mille merce d'avance :)
--
Nicolas Michel

Avatar
Nicolas.Michel
with sherry, add the reduced broth.
Finally, put in the root vegetables and simmer for 15 minutes.
Allow to cool slightly.
Place the pie pan in 375 degree oven for a few minutes so bottom crust is not soggy,
reduce oven to 325.
Fill the pie with stew, place top crust and with a fork, seal the crusts together
then poke holes in top.
Return to oven and bake for 30 minutes, or until pie crust is golden brown.



Sudden Infant Death Soup

SIDS: delicious in winter, comparable to old fashioned Beef and Vegetable Soup.
Its free, you can sell the crib, baby clothes, toys, stroller... and so easy to
procure if such a lucky find is at hand (just pick him up from the crib and
he?s good to go)!

SIDS victim, cleaned
½ cup cooking oil
Carrots
onions
broccoli
whole cabbage
fresh green beans
potato
turnip
celery
tomato
½ stick butter
1 cup cooked pasta (macaroni, shells, etc.)

Remove as much meat as possible, cube, and brown in hot oil.
Add a little water, season, then add the carcass.
Simmer for half an hour keeping the stock thick.
Remove the carcass and add the vegetables slowly to the stock,
so that it remains boiling the whole time.
Cover the pot and simmer till vegetables are tender
(2 hours approximately).
Continue seasoning to taste.
Before serving, add butter and pasta,
serve piping with hot bread and butter.



Offspring Rolls

Similar to Vietnamese style fried rolls, they have lots of meat
(of course this can consist of chicken, beef, pork, or shrimp).
Who can resist this classic appetizer; or light lunch served with
a fresh salad? Versatility is probably this recipe?s greatest virtue,
as one can use the best part of a prime, rare, yearling, or the
morticians oc
Avatar
Nicolas.Michel
When working with prematurely delivered newborns (or chicken) use sherry;
red wine with beef (buy steak or roast, do not pre-boil).

Pie crust (see index)
Whole fresh pre-mie; eviscerated, head, hands and feet removed
Onions, bell pepper, celery
½ cup wine
Root vegetables of choice (turnips, carrots, potatoes, etc) cubed

Make a crust from scratch - or go shamefully to the frozen food section
of your favorite grocery and select 2 high quality pie crusts (you
will need one for the top also).
Boil the prepared delicacy until the meat starts to come off the bones.
Remove, de-bone and cube; continue to reduce the broth.
Brown the onions, peppers and celery.
Add the meat then season, continue browning.
De-glaze with sherry, add the reduced broth.
Finally, put in the root vegetables and simmer for 15 minutes.
Allow to cool slightly.
Place the pie pan in 375 degree oven for a few minutes so bottom crust is not soggy,
reduce oven to 325.
Fill the pie with stew, place top crust and with a fork, seal the crusts togeth
Avatar
Anonyme
Nicolas.Michel wrote:

Nicolas.Michel wrote:


Comment faire pour utiliser les fonctions automount et autre, que
netinfo utilise quand on crée un netinfo/mount/... ?


J'en rajoute une couche :
C'est quoi amd ?

(oui, je sais lire le man mais c'est un truc obscure, si certains
d'entre vous ont déjà touché ça je serais très intéressé. Notament
est-ce que c'est un truc utilisé par OSX ?)


Je dirai que c'est le démon utilisé par NFS pour faire les montages
automatiques, comme autofs sous d'autres unix...

Je n'ai personnellement jamais utilisé cela "indépendament" de
NFS/NIS...

--
Anonyme ( jayce <@> mosx.net )
********* MosX.net <http://www.mosx.net/> *********


Avatar
Anonyme
Nicolas.Michel wrote:

Bonjour

J'ai un loginscript qui regarde qui se logue et qui lui monte ses
dossiers partagés à lui en smb/kerberos.

Le problème est que après une mise en veille, le dossier n'est plus
accessible.

Comment faire pour utiliser les fonctions automount et autre, que
netinfo utilise quand on crée un netinfo/mount/... ?

A moins qu'il n'y ait dans workgroup manager la possibilité d''associer
un share à un groupe ?

Merci d'avance :-)


La solution la plus simple (mais pas la plus efficace) est de faire un
cron qui regarde si tes montages sont fait et si ils ne le sont pas,
fait le montage..

--
Anonyme ( jayce <@> mosx.net )
********* MosX.net <http://www.mosx.net/> *********

Avatar
Nicolas.Michel
Anonyme wrote:

Nicolas.Michel wrote:

Bonjour

J'ai un loginscript qui regarde qui se logue et qui lui monte ses
dossiers partagés à lui en smb/kerberos.

Le problème est que après une mise en veille, le dossier n'est plus
accessible.

Comment faire pour utiliser les fonctions automount et autre, que
netinfo utilise quand on crée un netinfo/mount/... ?

A moins qu'il n'y ait dans workgroup manager la possibilité d''associer
un share à un groupe ?

Merci d'avance :-)


La solution la plus simple (mais pas la plus efficace) est de faire un
cron qui regarde si tes montages sont fait et si ils ne le sont pas,
fait le montage..


Salut Jayce

Merci pour cette réponse, c'est effectivement ce que j'ai finit par
faire.

En fait je crois que je me suis gourré, j'étais sûr qu'on pouvait faire
un mount smb via netinfo, mais j'ai pas retrouvé comment. Notement
depuis OSXserver, qui ne propose que l'afp et le nfs pour les mount
auto. Domage...

Ceci dit amd (automatically mount file systems) semble être une autre
façon de faire des mount auto, les logs disent que c'est automount qui
fait le boulot. Dureste amd n'est pas lancé, et comme c'est un deamon il
devrait s'il était utilisé, évidement.

Par ailleur Il semblerais qu'on puisse dire dans amd.conf quel
utilitaire on veux pour exécuter le mount. Donc on peut peut-être,
éventuellement, lui dire de prendre mount_smbfs. J'ai pas testé, pas le
temps.

--
Nicolas Michel


Avatar
Anonyme
Nicolas.Michel wrote:

Par ailleur Il semblerais qu'on puisse dire dans amd.conf quel
utilitaire on veux pour exécuter le mount. Donc on peut peut-être,
éventuellement, lui dire de prendre mount_smbfs. J'ai pas testé, pas le
temps.


Ca doit être une solution, mais automount aussi... Le tout reste a
savoir comment... Si j'ai du temps, je chercherai...

--
Anonyme ( jayce <@> mosx.net )
********* MosX.net <http://www.mosx.net/> *********

Avatar
Nicolas.Michel
Anonyme wrote:

Nicolas.Michel wrote:

Par ailleur Il semblerais qu'on puisse dire dans amd.conf quel
utilitaire on veux pour exécuter le mount. Donc on peut peut-être,
éventuellement, lui dire de prendre mount_smbfs. J'ai pas testé, pas le
temps.


Ca doit être une solution, mais automount aussi... Le tout reste a
savoir comment... Si j'ai du temps, je chercherai...


Cool !

Merci d'avance :)

--
Nicolas Michel